Skip to main content

ITMP_SpriteCharacterMethods

Trait ITMP_SpriteCharacterMethods 

Source
pub trait ITMP_SpriteCharacterMethods: ITMP_SpriteCharacter {
    // Provided methods
    fn get_name(self) -> Il2CppString { ... }
    fn set_name(self, value: impl Into<Il2CppString>) { ... }
    fn get_hash_code(self) -> i32 { ... }
    fn ctor(self) { ... }
    fn ctor_2(self, unicode: impl Into<u32>, glyph: impl Into<TMP_SpriteGlyph>) { ... }
    fn ctor_3(
        self,
        unicode: impl Into<u32>,
        sprite_asset: impl Into<TMP_SpriteAsset>,
        glyph: impl Into<TMP_SpriteGlyph>,
    ) { ... }
    fn ctor_4(self, unicode: impl Into<u32>, glyph_index: impl Into<u32>) { ... }
}

Provided Methods§

Source

fn get_name(self) -> Il2CppString

get_name() overload

Source

fn set_name(self, value: impl Into<Il2CppString>)

set_name(::unity::Il2CppString) overload

Source

fn get_hash_code(self) -> i32

get_hashCode() overload

Source

fn ctor(self)

.ctor() overload

Source

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

.ctor(u32, crate::tm_pro::tmp_spriteglyph::TMP_SpriteGlyph) overload

Source

fn ctor_3( self, unicode: impl Into<u32>, sprite_asset: impl Into<TMP_SpriteAsset>, glyph: impl Into<TMP_SpriteGlyph>, )

.ctor(u32, crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset, crate::tm_pro::tmp_spriteglyph::TMP_SpriteGlyph) 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_SpriteCharacter> ITMP_SpriteCharacterMethods for __T

Available on crate feature tm_pro-tmp_spritecharacter only.