Skip to main content

ObserverSystem

Trait ObserverSystem 

Source
pub trait ObserverSystem<E: EventPattern, Out = ()>:
    System<In = On<'static, 'static, E>, Out = Out>
    + Send
    + 'static { }
Expand description

Implemented for Systems that have On as the first argument.

Implementors§

Source§

impl<E: EventPattern, Out, T> ObserverSystem<E, Out> for T
where T: System<In = On<'static, 'static, E>, Out = Out> + Send + 'static,