Skip to main content

ITMP_CharacterMethods

Trait ITMP_CharacterMethods 

Source
pub trait ITMP_CharacterMethods: ITMP_Character {
    // Provided methods
    fn ctor(self) { ... }
    fn ctor_2(self, unicode: impl Into<u32>, glyph: impl Into<Glyph>) { ... }
    fn ctor_3(
        self,
        unicode: impl Into<u32>,
        font_asset: impl Into<TMP_FontAsset>,
        glyph: impl Into<Glyph>,
    ) { ... }
    fn ctor_4(self, unicode: impl Into<u32>, glyph_index: impl Into<u32>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, unicode: impl Into<u32>, glyph: impl Into<Glyph>)

.ctor(u32, crate::unity_engine::text_core::glyph::Glyph) overload

Source

fn ctor_3( self, unicode: impl Into<u32>, font_asset: impl Into<TMP_FontAsset>, glyph: impl Into<Glyph>, )

.ctor(u32, crate::tm_pro::tmp_fontasset::TMP_FontAsset, crate::unity_engine::text_core::glyph::Glyph) overload

Source

fn ctor_4(self, unicode: impl Into<u32>, glyph_index: impl Into<u32>)

.ctor(u32, u32) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: ITMP_Character> ITMP_CharacterMethods for __T

Available on crate feature tm_pro-tmp_character only.