Trait specs_mirror::Mirrored [−][src]
pub trait Mirrored { type Event: Event; fn insert(&mut self, _chan: &mut EventChannel<Self::Event>, _id: Index) { ... } fn remove(&mut self, _chan: &mut EventChannel<Self::Event>, _id: Index) { ... } }
Components that can be tracked in a MirroredStorage
.
Associated Types
Provided Methods
fn insert(&mut self, _chan: &mut EventChannel<Self::Event>, _id: Index)
Called when inserting the component. This method should not be called directly.
fn remove(&mut self, _chan: &mut EventChannel<Self::Event>, _id: Index)
Called when removing the component. This method should not be called directly.