Trait rin::ecs::storage::IntoOrderedChangesIter [−][src]
pub trait IntoOrderedChangesIter<'a, T> { type OrderedChangesItem; type RawSubStorage: 'a + HierarchicalStorage<'a, T>; type SubStorage: DerefMut; pub fn ordered_extend_changes<F>(self, has_chagend: F)
where
F: FnMut(Self::OrderedChangesItem) -> bool; pub unsafe fn into_storage_and_changes(
self
) -> (Self::SubStorage, &'a mut HashSet<usize, RandomState>); }
Associated Types
type OrderedChangesItem
[src]
type RawSubStorage: 'a + HierarchicalStorage<'a, T>
[src]
type SubStorage: DerefMut
[src]
Required methods
pub fn ordered_extend_changes<F>(self, has_chagend: F) where
F: FnMut(Self::OrderedChangesItem) -> bool,
[src]
F: FnMut(Self::OrderedChangesItem) -> 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> IntoOrderedChangesIter<'a, T> for WriteGuardRef<'a, Changed<S, T>, ()> where
S: Storage<'a, T> + HierarchicalStorage<'a, T> + 'a,
WriteGuardRef<'a, S, ()>: IntoOrderedIdedIterMut,
<WriteGuardRef<'a, S, ()> as IntoOrderedIdedIterMut>::OrderedIdedIterMut: Iterator,
<<WriteGuardRef<'a, S, ()> as IntoOrderedIdedIterMut>::OrderedIdedIterMut as Iterator>::Item == (usize, NodeRefMut<'a, T>),
[src]
impl<'a, S, T> IntoOrderedChangesIter<'a, T> for WriteGuardRef<'a, Changed<S, T>, ()> where
S: Storage<'a, T> + HierarchicalStorage<'a, T> + 'a,
WriteGuardRef<'a, S, ()>: IntoOrderedIdedIterMut,
<WriteGuardRef<'a, S, ()> as IntoOrderedIdedIterMut>::OrderedIdedIterMut: Iterator,
<<WriteGuardRef<'a, S, ()> as IntoOrderedIdedIterMut>::OrderedIdedIterMut as Iterator>::Item == (usize, NodeRefMut<'a, T>),
[src]type OrderedChangesItem = NodeRefMut<'a, T>
type RawSubStorage = S
type SubStorage = WriteGuardRef<'a, S, ()>
pub fn ordered_extend_changes<F>(self, has_changed: F) where
F: FnMut(<WriteGuardRef<'a, Changed<S, T>, ()> as IntoOrderedChangesIter<'a, T>>::OrderedChangesItem) -> bool,
[src]
F: FnMut(<WriteGuardRef<'a, Changed<S, T>, ()> as IntoOrderedChangesIter<'a, T>>::OrderedChangesItem) -> bool,
pub unsafe fn into_storage_and_changes(
self
) -> (<WriteGuardRef<'a, Changed<S, T>, ()> as IntoOrderedChangesIter<'a, T>>::SubStorage, &'a mut HashSet<usize, RandomState>)
[src]
self
) -> (<WriteGuardRef<'a, Changed<S, T>, ()> as IntoOrderedChangesIter<'a, T>>::SubStorage, &'a mut HashSet<usize, RandomState>)