Skip to main content

IAkInitializerMethods

Trait IAkInitializerMethods 

Source
pub trait IAkInitializerMethods: IAkInitializer {
    // Provided methods
    fn awake(self) { ... }
    fn on_enable(self) { ... }
    fn on_disable(self) { ... }
    fn on_destroy(self) { ... }
    fn on_application_pause(self, pause_status: impl Into<bool>) { ... }
    fn on_application_focus(self, focus: impl Into<bool>) { ... }
    fn on_application_quit(self) { ... }
    fn late_update(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn awake(self)

Awake() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn on_application_pause(self, pause_status: impl Into<bool>)

OnApplicationPause(bool) overload

Source

fn on_application_focus(self, focus: impl Into<bool>)

OnApplicationFocus(bool) overload

Source

fn on_application_quit(self)

OnApplicationQuit() overload

Source

fn late_update(self)

LateUpdate() 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: IAkInitializer> IAkInitializerMethods for __T

Available on crate feature root-akinitializer only.