Struct fluffl::collections::nary_forest::NaryForest
source · [−]Expand description
Custom N-ary Tree implemented with vector-backed memory
Fields
root_list: Vec<Ptr>
pool: Ptr
memory: Vec<NaryNode<T>>
Implementations
Trait Implementations
sourceimpl<T> Default for NaryForest<T>where
Self: Index<Ptr, Output = NaryNode<T>> + IndexMut<Ptr>,
impl<T> Default for NaryForest<T>where
Self: Index<Ptr, Output = NaryNode<T>> + IndexMut<Ptr>,
sourceimpl<'de, T> Deserialize<'de> for NaryForest<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for NaryForest<T>where
T: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<T> Index<Ptr> for NaryForest<T>
impl<T> Index<Ptr> for NaryForest<T>
sourceimpl<T> IndexMut<Ptr> for NaryForest<T>
impl<T> IndexMut<Ptr> for NaryForest<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for NaryForest<T>where
T: RefUnwindSafe,
impl<T> Send for NaryForest<T>where
T: Send,
impl<T> Sync for NaryForest<T>where
T: Sync,
impl<T> Unpin for NaryForest<T>where
T: Unpin,
impl<T> UnwindSafe for NaryForest<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more