pub enum NodePosition<K: Ord, V> {
INF,
Node(NodePtr<K, V>),
SUP,
}
Expand description
ノードの位置
Variants§
Implementations§
Trait Implementations§
source§impl<K: Ord, V> Clone for NodePosition<K, V>
impl<K: Ord, V> Clone for NodePosition<K, V>
source§impl<K: Ord, V> PartialEq<NodePosition<K, V>> for NodePosition<K, V>
impl<K: Ord, V> PartialEq<NodePosition<K, V>> for NodePosition<K, V>
source§impl<K: Ord, V> PartialOrd<NodePosition<K, V>> for NodePosition<K, V>
impl<K: Ord, V> PartialOrd<NodePosition<K, V>> for NodePosition<K, V>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more