Trait rin::ecs::storage::IntoChangesIter[][src]

pub trait IntoChangesIter<'a, T> {
    type ChangesItem;
    type RawSubStorage: 'a + Storage<'a, T>;
    type SubStorage: DerefMut;
    pub fn extend_changes<F>(self, has_chagend: F)
    where
        F: FnMut(Self::ChangesItem) -> bool
;
pub unsafe fn into_storage_and_changes(
        self
    ) -> (Self::SubStorage, &'a mut HashSet<usize, RandomState>); }

Associated Types

type ChangesItem[src]

type RawSubStorage: 'a + Storage<'a, T>[src]

type SubStorage: DerefMut[src]

Loading content...

Required methods

pub fn extend_changes<F>(self, has_chagend: F) where
    F: FnMut(Self::ChangesItem) -> bool
[src]

pub unsafe fn into_storage_and_changes(
    self
) -> (Self::SubStorage, &'a mut HashSet<usize, RandomState>)
[src]

Loading content...

Implementors

impl<'a, S, T> IntoChangesIter<'a, T> for WriteGuardRef<'a, Changed<S, T>, ()> where
    S: Storage<'a, T>,
    WriteGuardRef<'a, S, ()>: IntoIdedIterMut,
    <WriteGuardRef<'a, S, ()> as IntoIdedIterMut>::IdedIterMut: Iterator,
    <<WriteGuardRef<'a, S, ()> as IntoIdedIterMut>::IdedIterMut as Iterator>::Item == (usize, <S as Storage<'a, T>>::GetMut)
[src]

type ChangesItem = <S as Storage<'a, T>>::GetMut

type RawSubStorage = S

type SubStorage = WriteGuardRef<'a, S, ()>

Loading content...