Skip to main content

IRuntimeSampleMethods

Trait IRuntimeSampleMethods 

Source
pub trait IRuntimeSampleMethods: IRuntimeSample {
    // Provided methods
    fn start(self) { ... }
    fn on_destroy(self) { ... }
    fn update(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn start(self)

Start() overload

Source

fn on_destroy(self)

OnDestroy() 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: IRuntimeSample> IRuntimeSampleMethods for __T

Available on crate feature app-struct_object-runtimesample only.