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 an Observer 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