Skip to main content

ObserverSystem

Trait ObserverSystem 

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

Implemented for Systems that have On as the first argument.

Implementors§

Source§

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