Trait specs_mirror::StorageExt[][src]

pub trait StorageExt<C: Mirrored> {
    fn read_events(
        reader: &mut ReaderId<C::Event>
    ) -> EventIterator<C::Event>; }

Extension methods for Storage to help read events from MirroredStorage.

Required Methods

Read insertion and removal events from the event channel.

Implementations on Foreign Types

impl<'a, C, S, D> StorageExt<C> for Storage<'a, C, D> where
    C: Mirrored + Component<Storage = MirroredStorage<C, S>>,
    S: UnprotectedStorage<C> + Any + Send + Sync,
    D: Deref<Target = MaskedStorage<C>>,