Skip to main content

IUnitInfoMethods

Trait IUnitInfoMethods 

Source
pub trait IUnitInfoMethods: IUnitInfo {
    // Provided methods
    fn ctor(self) { ... }
    fn construct(self, left_unit: impl Into<Unit>, right_unit: impl Into<Unit>) { ... }
    fn on_dispose(self) { ... }
    fn prepare_chara_model(self) { ... }
    fn is_preparing_chara_model(self) -> bool { ... }
    fn prepare_window(self) { ... }
    fn is_preparing_window(self) -> bool { ... }
    fn postprepare(self) { ... }
    fn tick(self) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn construct(self, left_unit: impl Into<Unit>, right_unit: impl Into<Unit>)

Construct(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn prepare_chara_model(self)

PrepareCharaModel() overload

Source

fn is_preparing_chara_model(self) -> bool

IsPreparingCharaModel() overload

Source

fn prepare_window(self)

PrepareWindow() overload

Source

fn is_preparing_window(self) -> bool

IsPreparingWindow() overload

Source

fn postprepare(self)

Postprepare() overload

Source

fn tick(self)

Tick() 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: IUnitInfo> IUnitInfoMethods for __T

Available on crate feature app-unitinfo only.