Struct rin::ecs::storage::changed::Changed [−][src]
pub struct Changed<S, T> { /* fields omitted */ }
Trait Implementations
impl<'a, S, T> ChangedStorageExt<'a> for Changed<S, T> where
S: Storage<'a, T>,
[src]
impl<'a, S, T> ChangedStorageExt<'a> for Changed<S, T> where
S: Storage<'a, T>,
[src]pub fn changed_entities(&self) -> Iter<'_, usize>
[src]
impl<'a, S, T> HierarchicalStorage<'a, T> for Changed<S, T> where
T: 'a,
S: HierarchicalStorage<'a, T>,
[src]
impl<'a, S, T> HierarchicalStorage<'a, T> for Changed<S, T> where
T: 'a,
S: HierarchicalStorage<'a, T>,
[src]pub unsafe fn insert_child(&mut self, parent_guid: usize, guid: usize, value: T)
[src]
pub unsafe fn get_node(&self, guid: usize) -> NodeRef<'_, T>
[src]
pub unsafe fn get_node_mut(&mut self, guid: usize) -> NodeRefMut<'_, T>
[src]
pub unsafe fn fast_get_node(&self, idx: NodeId) -> NodeRef<'_, T>
[src]
pub unsafe fn fast_get_node_mut(&mut self, idx: NodeId) -> NodeRefMut<'_, T>
[src]
pub unsafe fn guid_for(&self, nodeid: NodeId) -> usize
[src]
pub unsafe fn ordered_fast_index(&self, guid: usize) -> NodeId
[src]
pub fn ordered_ids(&self) -> ReadGuardRef<'_, Vec<OrderedId<NodeId>, Global>>
[src]
impl<'a, S, T> OneToNStorage<'a, T> for Changed<S, T> where
T: 'a,
S: OneToNStorage<'a, T>,
[src]
impl<'a, S, T> OneToNStorage<'a, T> for Changed<S, T> where
T: 'a,
S: OneToNStorage<'a, T>,
[src]pub fn insert_slice<I>(&mut self, guid: usize, t: I) where
I: IntoIterator<Item = T>,
[src]
I: IntoIterator<Item = T>,
pub unsafe fn get_slice(&self, guid: usize) -> SliceView<'_, T>
[src]
pub unsafe fn get_slice_mut(&mut self, guid: usize) -> SliceViewMut<'_, T>
[src]
impl<'a, T, S> ParStorage<'a, T> for Changed<S, T> where
T: 'a,
S: ParStorage<'a, T> + Storage<'a, T>,
<S as Storage<'a, T>>::Get: Send,
<S as Storage<'a, T>>::GetMut: Send,
[src]
impl<'a, T, S> ParStorage<'a, T> for Changed<S, T> where
T: 'a,
S: ParStorage<'a, T> + Storage<'a, T>,
<S as Storage<'a, T>>::Get: Send,
<S as Storage<'a, T>>::GetMut: Send,
[src]type ParIter = <S as ParStorage<'a, T>>::ParIter
type ParIterMut = <S as ParStorage<'a, T>>::ParIterMut
pub fn par_iter(&self) -> <Changed<S, T> as ParStorage<'a, T>>::ParIter
[src]
pub fn par_iter_mut(
&mut self
) -> <Changed<S, T> as ParStorage<'a, T>>::ParIterMut
[src]
&mut self
) -> <Changed<S, T> as ParStorage<'a, T>>::ParIterMut
impl<'a, T, S> Storage<'a, T> for Changed<S, T> where
T: 'a,
S: Storage<'a, T>,
[src]
impl<'a, T, S> Storage<'a, T> for Changed<S, T> where
T: 'a,
S: Storage<'a, T>,
[src]type Get = <S as Storage<'a, T>>::Get
type GetMut = <S as Storage<'a, T>>::GetMut
type DerefTarget = <S as Storage<'a, T>>::DerefTarget
type IdedIter = <S as Storage<'a, T>>::IdedIter
type Iter = <S as Storage<'a, T>>::Iter
type IterMut = <S as Storage<'a, T>>::IterMut
pub fn new() -> Changed<S, T>
[src]
pub fn with_capacity(capacity: usize) -> Changed<S, T>
[src]
pub fn insert(&mut self, guid: usize, t: T)
[src]
pub fn remove(&mut self, guid: usize)
[src]
pub unsafe fn get(&self, guid: usize) -> <S as Storage<'a, T>>::Get
[src]
pub unsafe fn get_mut(&mut self, guid: usize) -> <S as Storage<'a, T>>::GetMut
[src]
pub unsafe fn fast_get(&self, guid: usize) -> <S as Storage<'a, T>>::Get
[src]
pub unsafe fn fast_get_mut(
&mut self,
guid: usize
) -> <S as Storage<'a, T>>::GetMut
[src]
&mut self,
guid: usize
) -> <S as Storage<'a, T>>::GetMut
pub fn fast_index(&self, guid: usize) -> usize
[src]
pub fn guid_from_fast_index(&self, idx: usize) -> usize
[src]
pub fn contains(&self, guid: usize) -> bool
[src]
pub fn update(&mut self)
[src]
pub fn storage_changed(&self) -> bool
[src]
pub fn tracks_changes() -> bool
[src]
pub fn ided_iter(&self) -> <Changed<S, T> as Storage<'a, T>>::IdedIter
[src]
pub fn iter(&self) -> <Changed<S, T> as Storage<'a, T>>::Iter
[src]
pub fn iter_mut(&mut self) -> <Changed<S, T> as Storage<'a, T>>::IterMut
[src]
Auto Trait Implementations
impl<S, T> RefUnwindSafe for Changed<S, T> where
S: RefUnwindSafe,
T: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, T> Send for Changed<S, T> where
S: Send,
T: Send,
S: Send,
T: Send,
impl<S, T> Sync for Changed<S, T> where
S: Sync,
T: Sync,
S: Sync,
T: Sync,
impl<S, T> Unpin for Changed<S, T> where
S: Unpin,
T: Unpin,
S: Unpin,
T: Unpin,
impl<S, T> UnwindSafe for Changed<S, T> where
S: UnwindSafe,
T: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]