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§
impl Copy for NodeId
impl Eq for NodeId
Source§impl From<DefaultKey> for NodeId
Available on crate feature taffy_tree only.
impl From<DefaultKey> for NodeId
Available on crate feature
taffy_tree only.Source§fn from(key: DefaultKey) -> NodeId
fn from(key: DefaultKey) -> NodeId
Converts to this type from the input type.
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 UnsafeUnpin 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