pub trait ObserverSystem<E>: 'static {
// Required method
fn run(&mut self, event: &E, world: &World, resources: &Resources);
}Expand description
A runnable observer — the type-erased form IntoObserverSystem produces.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".