Skip to main content

IntoObserver

Trait IntoObserver 

Source
pub trait IntoObserver<Marker>: Send + 'static {
    // Required method
    fn into_observer(self) -> Observer;
}
Expand description

Trait for types that can be converted into an Observer.

Required Methods§

Source

fn into_observer(self) -> Observer

Converts this type into an Observer.

Implementors§

Source§

impl IntoObserver<()> for Observer

Source§

impl<E, B, M, T> IntoObserver<(E, B, M)> for T
where E: Event, B: Bundle, T: IntoObserverSystem<E, B, M>,