pub struct RootNode {
pub self_ptr: AllocPtr,
pub parent_ptr: Option<AllocPtr>,
}
Fields§
§self_ptr: AllocPtr
§parent_ptr: Option<AllocPtr>
Roots may optionally point back to a node in some other Tree
’s allocator.
Implementations§
Trait Implementations§
impl Copy for RootNode
impl Eq for RootNode
impl StructuralPartialEq for RootNode
Auto Trait Implementations§
impl Freeze for RootNode
impl RefUnwindSafe for RootNode
impl Send for RootNode
impl Sync for RootNode
impl Unpin for RootNode
impl UnwindSafe for RootNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more