Trait valence::ecs::system::ObserverSystem

pub trait ObserverSystem<E, B, Out = ()>:
    System<In = Trigger<'static, E, B>, Out = Out>
    + Send
    + 'static
where E: 'static, B: Bundle,
{ }
Expand description

Implemented for systems that have an Observer as the first argument.

Implementors§

§

impl<E, B, Out, T> ObserverSystem<E, B, Out> for T
where E: 'static, B: Bundle, T: System<In = Trigger<'static, E, B>, Out = Out> + Send + 'static,