Skip to main content

IEmptySceneMethods

Trait IEmptySceneMethods 

Source
pub trait IEmptySceneMethods: IEmptyScene {
    // Provided methods
    fn on_enable(self) { ... }
    fn on_disable(self) { ... }
    fn update(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn update(self)

Update() 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: IEmptyScene> IEmptySceneMethods for __T

Available on crate feature app-emptyscene only.