Trait IntoObserverSystem
pub trait IntoObserverSystem<E, B, M, Out = ()>: Send + 'staticwhere
E: 'static,
B: Bundle,{
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§
type System: ObserverSystem<E, B, Out>
type System: ObserverSystem<E, B, Out>
The type of System that this instance converts into.
Required Methods§
fn into_system(this: Self) -> Self::System
fn into_system(this: Self) -> Self::System
Turns this value into its corresponding System.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.