Struct rin::ecs::storage::OneToNForest [−][src]
pub struct OneToNForest<T> { /* fields omitted */ }
Trait Implementations
impl<'a, T> HierarchicalOneToNStorage<'a, T> for OneToNForest<T> where
T: 'a + Component,
[src]
impl<'a, T> HierarchicalOneToNStorage<'a, T> for OneToNForest<T> where
T: 'a + Component,
[src]pub unsafe fn insert_root(&mut self, guid: usize, t: T) -> NodeRefMut<'_, T>
[src]
pub unsafe fn insert_child(&mut self, parent: NodeId, t: T) -> NodeRefMut<'_, T>
[src]
impl<'a, T> Storage<'a, T> for OneToNForest<T> where
T: 'a + Component,
[src]
impl<'a, T> Storage<'a, T> for OneToNForest<T> where
T: 'a + Component,
[src]type Get = RootsIter<'a, T>
type GetMut = RootsIterMut<'a, T>
type DerefTarget = RootsIter<'a, T>
type IdedIter = RawIdedIter<'a, T>
type Iter = RawIter<'a, T>
type IterMut = RawIterMut<'a, T>
pub fn new() -> OneToNForest<T>
[src]
pub fn with_capacity(capacity: usize) -> OneToNForest<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) -> RootsIter<'a, T>
[src]
pub unsafe fn get_mut(&mut self, guid: usize) -> RootsIterMut<'a, T>
[src]
pub unsafe fn fast_get(&self, guid: usize) -> RootsIter<'a, T>
[src]
pub unsafe fn fast_get_mut(&mut self, guid: usize) -> RootsIterMut<'a, T>
[src]
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 ided_iter(&self) -> <OneToNForest<T> as Storage<'a, T>>::IdedIter
[src]
pub fn iter(&self) -> <OneToNForest<T> as Storage<'a, T>>::Iter
[src]
pub fn iter_mut(&mut self) -> <OneToNForest<T> as Storage<'a, T>>::IterMut
[src]
pub fn update(&mut self)
[src]
pub fn tracks_changes() -> bool
[src]
pub fn storage_changed(&self) -> bool
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for OneToNForest<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for OneToNForest<T> where
T: Send,
T: Send,
impl<T> Sync for OneToNForest<T> where
T: Sync,
T: Sync,
impl<T> Unpin for OneToNForest<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for OneToNForest<T> where
T: 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]