Skip to main content

EffectorStream

Trait EffectorStream 

Source
pub trait EffectorStream: Send + Sync {
    // Required methods
    fn next(&self) -> bool;
    fn push_effect(&mut self, eft: EffectKind) -> bool;
}

Required Methods§

Source

fn next(&self) -> bool

Source

fn push_effect(&mut self, eft: EffectKind) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§