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
UnprotectedStorage
s that track modifications, insertions, and
removals of components.
Required methods
fn channel(&self) -> &EventChannel<ComponentEvent>
[src]
fn channel(&self) -> &EventChannel<ComponentEvent>
[src]Event channel tracking modified/inserted/removed components.
fn channel_mut(&mut self) -> &mut EventChannel<ComponentEvent>
[src]
fn channel_mut(&mut self) -> &mut EventChannel<ComponentEvent>
[src]Mutable event channel tracking modified/inserted/removed components.
fn set_event_emission(&mut self, emit: bool)
[src]
fn set_event_emission(&mut self, emit: bool)
[src]Controls the events signal emission. When this is set to false the events modified/inserted/removed are not emitted.
fn event_emission(&self) -> bool
[src]
fn event_emission(&self) -> bool
[src]Returns the actual state of the event emission.