Skip to main content

IProfileCardLangFontMethods

Trait IProfileCardLangFontMethods 

Source
pub trait IProfileCardLangFontMethods: IProfileCardLangFont {
    // Provided methods
    fn on_enable(self) { ... }
    fn on_disable(self) { ... }
    fn try_create_material(self) -> (bool, Material) { ... }
    fn try_destroy_material(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn try_create_material(self) -> (bool, Material)

TryCreateMaterial(*mutcrate::unity_engine::material::Material) overload

Source

fn try_destroy_material(self)

TryDestroyMaterial() overload

Source

fn ctor(self)

.ctor() 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: IProfileCardLangFont> IProfileCardLangFontMethods for __T

Available on crate feature app-profilecardlangfont only.