Trait SystemModuleApi

Source
pub trait SystemModuleApi {
    type SystemCallback: SystemCallbackObject;

    // Required methods
    fn system(&mut self) -> &mut System<Self::SystemCallback>;
    fn system_state(&mut self) -> SystemState<'_, System<Self::SystemCallback>>;
    fn current_stack_depth_uncosted(&self) -> usize;
    fn current_stack_id_uncosted(&self) -> usize;
}

Required Associated Types§

Required Methods§

Implementors§