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
Loading content...Required methods
pub fn extend_changes<F>(self, has_chagend: F) where
F: FnMut(Self::ChangesItem) -> bool,
[src]
F: FnMut(Self::ChangesItem) -> bool,
pub unsafe fn into_storage_and_changes(
self
) -> (Self::SubStorage, &'a mut HashSet<usize, RandomState>)
[src]
self
) -> (Self::SubStorage, &'a mut HashSet<usize, RandomState>)
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]
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, ()>
pub fn extend_changes<F>(self, has_chagend: F) where
F: FnMut(<WriteGuardRef<'a, Changed<S, T>, ()> as IntoChangesIter<'a, T>>::ChangesItem) -> bool,
[src]
F: FnMut(<WriteGuardRef<'a, Changed<S, T>, ()> as IntoChangesIter<'a, T>>::ChangesItem) -> bool,
pub unsafe fn into_storage_and_changes(
self
) -> (<WriteGuardRef<'a, Changed<S, T>, ()> as IntoChangesIter<'a, T>>::SubStorage, &'a mut HashSet<usize, RandomState>)
[src]
self
) -> (<WriteGuardRef<'a, Changed<S, T>, ()> as IntoChangesIter<'a, T>>::SubStorage, &'a mut HashSet<usize, RandomState>)