pub struct NodeId<Node>(/* private fields */);
Implementations§
Trait Implementations§
Source§impl From<NodeId<AnyNode>> for Key<AnyNode>
impl From<NodeId<AnyNode>> for Key<AnyNode>
Source§fn from(value: GenericNodeId) -> Self
fn from(value: GenericNodeId) -> Self
Converts to this type from the input type.
impl<T> Copy for NodeId<T>
impl<T> Eq for NodeId<T>
Auto Trait Implementations§
impl<Node> Freeze for NodeId<Node>
impl<Node> RefUnwindSafe for NodeId<Node>where
Node: RefUnwindSafe,
impl<Node> Send for NodeId<Node>where
Node: Send,
impl<Node> Sync for NodeId<Node>where
Node: Sync,
impl<Node> Unpin for NodeId<Node>where
Node: Unpin,
impl<Node> UnwindSafe for NodeId<Node>where
Node: UnwindSafe,
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§impl<T, U> ConvertibleToMut<U> for T
impl<T, U> ConvertibleToMut<U> for T
fn try_as_mut(&mut self) -> Option<&mut U>
Source§impl<T, U> ConvertibleToRef<U> for T
impl<T, U> ConvertibleToRef<U> for T
fn try_as_ref(&self) -> Option<&U>
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.