Struct daggy::NodeIndex
[−]
[src]
pub struct NodeIndex<Ix = u32>(_);
Node identifier.
Methods
impl<Ix> NodeIndex<Ix> where Ix: IndexType
Trait Implementations
impl<Ix> From<Ix> for NodeIndex<Ix> where Ix: IndexType
impl<Ix> GraphIndex for NodeIndex<Ix> where Ix: IndexType
fn index(&self) -> usize
fn is_node_index() -> bool
Derived Implementations
impl<Ix> Hash for NodeIndex<Ix> where Ix: Hash
impl<Ix> Ord for NodeIndex<Ix> where Ix: Ord
impl<Ix> Eq for NodeIndex<Ix> where Ix: Eq
impl<Ix> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix> where 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> PartialEq<NodeIndex<Ix>> for NodeIndex<Ix> where Ix: PartialEq<Ix>
impl<Ix> Debug for NodeIndex<Ix> where Ix: Debug
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<Ix> Clone for NodeIndex<Ix> where 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