pub struct NodeKey(/* private fields */);
Expand description
A stable key for each node in the tree.
Trait Implementations§
Source§impl Key for NodeKey
impl Key for NodeKey
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!
, which calls this
method). Read moreSource§impl Ord for NodeKey
impl Ord for NodeKey
Source§impl PartialOrd for NodeKey
impl PartialOrd for NodeKey
impl Copy for NodeKey
impl Eq for NodeKey
impl StructuralPartialEq for NodeKey
Auto Trait Implementations§
impl Freeze for NodeKey
impl RefUnwindSafe for NodeKey
impl Send for NodeKey
impl Sync for NodeKey
impl Unpin for NodeKey
impl UnwindSafe for NodeKey
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.