pub struct Observers { /* private fields */ }
Expand description
Metadata for observers. Stores a cache mapping trigger ids to the registered observers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Observers
impl RefUnwindSafe for Observers
impl Send for Observers
impl Sync for Observers
impl Unpin for Observers
impl UnwindSafe for Observers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
Source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates
Self
using data from the given World
.