Trait Tracked

Source
pub trait Tracked {
    // Required methods
    fn channel(&self) -> &EventChannel<ComponentEvent>;
    fn channel_mut(&mut self) -> &mut EventChannel<ComponentEvent>;
}
Expand description

UnprotectedStorages that track modifications, insertions, and removals of components.

Required Methods§

Source

fn channel(&self) -> &EventChannel<ComponentEvent>

Event channel tracking modified/inserted/removed components.

Source

fn channel_mut(&mut self) -> &mut EventChannel<ComponentEvent>

Mutable event channel tracking modified/inserted/removed components.

Implementors§

Source§

impl<C, T> Tracked for FlaggedStorage<C, T>