Struct petgraph::graph::NodeIndex [−] [src]

pub struct NodeIndex<Ix = DefIndex>(_);

Node identifier.

Methods

impl<Ix: IndexType = DefIndex> NodeIndex<Ix>

fn new(x: usize) -> Self

fn index(self) -> usize

fn end() -> Self

Trait Implementations

Derived Implementations

impl<Ix: Hash> Hash for NodeIndex<Ix> where Ix: Hash

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl<Ix: Ord> Ord for NodeIndex<Ix> where Ix: Ord

fn cmp(&self, __arg_0: &NodeIndex<Ix>) -> Ordering

impl<Ix: Eq> Eq for NodeIndex<Ix> where Ix: Eq

impl<Ix: PartialOrd> PartialOrd for NodeIndex<Ix> where Ix: PartialOrd

fn partial_cmp(&self, __arg_0: &NodeIndex<Ix>) -> Option<Ordering>

fn lt(&self, __arg_0: &NodeIndex<Ix>) -> bool

fn le(&self, __arg_0: &NodeIndex<Ix>) -> bool

fn gt(&self, __arg_0: &NodeIndex<Ix>) -> bool

fn ge(&self, __arg_0: &NodeIndex<Ix>) -> bool

impl<Ix: PartialEq> PartialEq for NodeIndex<Ix> where Ix: PartialEq

fn eq(&self, __arg_0: &NodeIndex<Ix>) -> bool

fn ne(&self, __arg_0: &NodeIndex<Ix>) -> bool

impl<Ix: Debug> Debug for NodeIndex<Ix> where Ix: Debug

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<Ix: Clone> Clone for NodeIndex<Ix> where Ix: Clone

fn clone(&self) -> NodeIndex<Ix>

fn clone_from(&mut self, source: &Self)

impl<Ix: Copy> Copy for NodeIndex<Ix> where Ix: Copy