Struct daggy::NodeIndex
[−]
[src]
pub struct NodeIndex<Ix = u32>(_);
Node identifier.
Methods
impl<Ix> NodeIndex<Ix> where
Ix: IndexType,
[src]
Ix: IndexType,
Trait Implementations
impl<Ix> GraphIndex for NodeIndex<Ix> where
Ix: IndexType,
[src]
Ix: IndexType,
fn index(&self) -> usize
fn is_node_index() -> bool
impl<Ix> Clone for NodeIndex<Ix> where
Ix: Clone,
[src]
Ix: Clone,
fn clone(&self) -> NodeIndex<Ix>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<Ix> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix> where
Ix: PartialOrd<Ix>,
[src]
Ix: PartialOrd<Ix>,
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> Copy for NodeIndex<Ix> where
Ix: Copy,
[src]
Ix: Copy,
impl<Ix> Ord for NodeIndex<Ix> where
Ix: Ord,
[src]
Ix: Ord,
impl<Ix> PartialEq<NodeIndex<Ix>> for NodeIndex<Ix> where
Ix: PartialEq<Ix>,
[src]
Ix: PartialEq<Ix>,
impl<Ix> From<Ix> for NodeIndex<Ix> where
Ix: IndexType,
[src]
Ix: IndexType,
impl<Ix> Eq for NodeIndex<Ix> where
Ix: Eq,
[src]
Ix: Eq,
impl<Ix> Hash for NodeIndex<Ix> where
Ix: Hash,
[src]
Ix: Hash,
impl<Ix> Debug for NodeIndex<Ix> where
Ix: Debug,
[src]
Ix: Debug,