pub struct NodeId(/* private fields */);
Expand description
A type representing the id of a single node in a tree of nodes
Internally it is a wrapper around a u64 and a NodeId
can be converted to and from
and u64 if needed.
Implementations§
Trait Implementations§
source§impl From<DefaultKey> for NodeId
impl From<DefaultKey> for NodeId
source§fn from(key: DefaultKey) -> Self
fn from(key: DefaultKey) -> Self
Converts to this type from the input type.
source§impl From<NodeId> for DefaultKey
impl From<NodeId> for DefaultKey
impl Copy for NodeId
impl Eq for NodeId
impl StructuralPartialEq for NodeId
Auto Trait Implementations§
impl Freeze for NodeId
impl RefUnwindSafe for NodeId
impl Send for NodeId
impl Sync for NodeId
impl Unpin for NodeId
impl UnwindSafe for NodeId
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)