Type Alias petgraph::matrix_graph::NodeIndex
source · 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> Ord for NodeIndex<Ix>
impl<Ix: Ord> Ord for NodeIndex<Ix>
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> PartialEq<NodeIndex<Ix>> for NodeIndex<Ix>
impl<Ix: PartialEq> PartialEq<NodeIndex<Ix>> for NodeIndex<Ix>
source§impl<Ix: PartialOrd> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix>
impl<Ix: PartialOrd> PartialOrd<NodeIndex<Ix>> for NodeIndex<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