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<'de, Ix> Deserialize<'de> for NodeIndex<Ix>where
Ix: IndexType + Deserialize<'de>,
impl<'de, Ix> Deserialize<'de> for NodeIndex<Ix>where
Ix: IndexType + Deserialize<'de>,
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 for NodeIndex<Ix>
impl<Ix: PartialEq> PartialEq for NodeIndex<Ix>
source§impl<Ix: PartialOrd> PartialOrd for NodeIndex<Ix>
impl<Ix: PartialOrd> PartialOrd 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