bevy_ecs::system

Trait ObserverSystem

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

Implemented for Systems that have a Trigger as the first argument.

Implementors§

source§

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