SystemFn

Trait SystemFn 

Source
pub trait SystemFn: Send + Sync {
    // Required method
    fn run(&mut self, ctx: SystemContext<'_>) -> Result<(), String>;
}

Required Methods§

Source

fn run(&mut self, ctx: SystemContext<'_>) -> Result<(), String>

Implementors§

Source§

impl<F> SystemFn for F
where F: FnMut(SystemContext<'_>) -> Result<(), String> + Send + Sync,