Struct key_node_list::ValueNode [−][src]
pub struct ValueNode<K, V> { /* fields omitted */ }Expand description
A generic node for the KeyNodeList.
ValueNode can hold any kind of value.
Implementations
Consumes this ValueNode, returning the underlying value.
Trait Implementations
type Key = K
type Key = K
Key type of the current Node.
Returns a reference to the previous key of the current node,
or returns None if the current node is the first node in the list. Read more
Returns a reference to the next key of the current node,
or returns None if the current node is the last node in the list. Read more
Returns a mutable reference to the previous key of the current node
so that KeyNodeList can update the order of
the nodes. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl<K, V> RefUnwindSafe for ValueNode<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> UnwindSafe for ValueNode<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
