Trait bevy_ecs::system::IntoObserverSystem
source · pub trait IntoObserverSystem<E: 'static, B: Bundle, M, Out = ()>: Send + 'static {
type System: ObserverSystem<E, B, Out>;
// Required method
fn into_system(this: Self) -> Self::System;
}
Expand description
Implemented for systems that convert into ObserverSystem
.
Required Associated Types§
sourcetype System: ObserverSystem<E, B, Out>
type System: ObserverSystem<E, B, Out>
The type of System
that this instance converts into.
Required Methods§
sourcefn into_system(this: Self) -> Self::System
fn into_system(this: Self) -> Self::System
Turns this value into its corresponding System
.
Object Safety§
This trait is not object safe.