Struct rinecs::storage::forest::Forest [−][src]
pub struct Forest<T> { /* fields omitted */ }
Trait Implementations
impl<'a, T: 'a> HierarchicalStorage<'a, T> for Forest<T>
[src]
impl<'a, T: 'a> HierarchicalStorage<'a, T> for Forest<T>
[src]unsafe fn insert_child(&mut self, parent_guid: usize, guid: usize, value: T)
[src]
unsafe fn get_node(&self, guid: usize) -> NodeRef<'_, T>
[src]
unsafe fn get_node_mut(&mut self, guid: usize) -> NodeRefMut<'_, T>
[src]
unsafe fn fast_get_node(&self, idx: NodeId) -> NodeRef<'_, T>
[src]
unsafe fn fast_get_node_mut(&mut self, idx: NodeId) -> NodeRefMut<'_, T>
[src]
fn ordered_ids(&self) -> ReadGuardRef<'_, Vec<OrderedId<NodeId>>>
[src]
unsafe fn guid_for(&self, nodeid: NodeId) -> usize
[src]
unsafe fn ordered_fast_index(&self, guid: usize) -> NodeId
[src]
impl<'a, T: 'a> Storage<'a, T> for Forest<T>
[src]
impl<'a, T: 'a> Storage<'a, T> for Forest<T>
[src]type Get = &'a T
type GetMut = &'a mut T
type DerefTarget = T
type IdedIter = AllIdedData<'a, T>
type Iter = AllData<'a, T>
type IterMut = AllDataMut<'a, T>
fn new() -> Forest<T>
[src]
fn with_capacity(capacity: usize) -> Forest<T>
[src]
fn insert(&mut self, guid: usize, t: T)
[src]
fn remove(&mut self, guid: usize)
[src]
unsafe fn get(&self, guid: usize) -> &'a T
[src]
unsafe fn get_mut(&mut self, guid: usize) -> &'a mut T
[src]
unsafe fn fast_get(&self, guid: usize) -> &'a T
[src]
unsafe fn fast_get_mut(&mut self, guid: usize) -> &'a mut T
[src]
fn fast_index(&self, guid: usize) -> usize
[src]
fn guid_from_fast_index(&self, idx: usize) -> usize
[src]
fn contains(&self, guid: usize) -> bool
[src]
fn ided_iter(&self) -> Self::IdedIter
[src]
fn iter(&self) -> Self::Iter
[src]
fn iter_mut(&mut self) -> Self::IterMut
[src]
fn update(&mut self)
[src]
fn tracks_changes() -> bool
[src]
fn storage_changed(&self) -> bool
[src]
impl<T: Send> Send for Forest<T>
[src]
impl<T: Sync> Sync for Forest<T>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for Forest<T>
impl<T> Unpin for Forest<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Forest<T> where
T: UnwindSafe,
T: UnwindSafe,