pub type NodeIndex<Ix = u16> = NodeIndex<Ix>;
Expand description
Node identifier.
Aliased Type§
struct NodeIndex<Ix = u16>(/* private fields */);
Implementations§
Trait Implementations§
source§impl<Ix> Ord for NodeIndex<Ix>where
Ix: Ord,
impl<Ix> Ord for NodeIndex<Ix>where Ix: Ord,
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<Ix> PartialEq<NodeIndex<Ix>> for NodeIndex<Ix>where
Ix: PartialEq<Ix>,
impl<Ix> PartialEq<NodeIndex<Ix>> for NodeIndex<Ix>where Ix: PartialEq<Ix>,
source§impl<Ix> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix>where
Ix: PartialOrd<Ix>,
impl<Ix> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix>where Ix: PartialOrd<Ix>,
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