#[repr(transparent)]pub struct NodeId(pub NodeIdContent);
Expand description
The stable identity of a Node
, unique within the node’s tree.
Tuple Fields§
§0: NodeIdContent
Trait Implementations§
source§impl From<NodeId> for NodeIdContent
impl From<NodeId> for NodeIdContent
source§impl From<u64> for NodeId
impl From<u64> for NodeId
source§fn from(inner: NodeIdContent) -> Self
fn from(inner: NodeIdContent) -> Self
Converts to this type from the input type.
source§impl PartialEq for NodeId
impl PartialEq for NodeId
impl Copy for NodeId
impl Eq for NodeId
impl StructuralEq for NodeId
impl StructuralPartialEq for NodeId
Auto Trait Implementations§
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