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

The event type for reporting changes to this component.

Provided Methods

Called when inserting the component. This method should not be called directly.

Called when removing the component. This method should not be called directly.

Implementors