Trait specs::storage::Tracked[][src]

pub trait Tracked {
    fn channel(&self) -> &EventChannel<ComponentEvent>;
fn channel_mut(&mut self) -> &mut EventChannel<ComponentEvent>;
fn set_event_emission(&mut self, emit: bool);
fn event_emission(&self) -> bool; }
Expand description

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

Required methods

Event channel tracking modified/inserted/removed components.

Mutable event channel tracking modified/inserted/removed components.

Controls the events signal emission. When this is set to false the events modified/inserted/removed are not emitted.

Returns the actual state of the event emission.

Implementors