Skip to main content

IParticleFadeoutComponentMethods

Trait IParticleFadeoutComponentMethods 

Source
pub trait IParticleFadeoutComponentMethods: IParticleFadeoutComponent {
    // Provided methods
    fn on_enable(self) { ... }
    fn on_destroy(self) { ... }
    fn reset(self) { ... }
    fn set_life(self, time: impl Into<f32>) { ... }
    fn update(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn reset(self)

Reset() overload

Source

fn set_life(self, time: impl Into<f32>)

SetLife(f32) 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: IParticleFadeoutComponent> IParticleFadeoutComponentMethods for __T

Available on crate feature combat-particlefadeoutcomponent only.