Struct rs_graph::linkedlistgraph::Edge
[−]
[src]
pub struct Edge<ID = u32>(_)
where
ID: PrimInt + Unsigned;
Edge of a linked list graph.
This is basically a newtype of the arc index. Note that
e == g.reverse(e).
Trait Implementations
impl<ID: Eq> Eq for Edge<ID> where
ID: PrimInt + Unsigned, [src]
ID: PrimInt + Unsigned,
impl<ID: Clone> Clone for Edge<ID> where
ID: PrimInt + Unsigned, [src]
ID: PrimInt + Unsigned,
fn clone(&self) -> Edge<ID>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<ID: Copy> Copy for Edge<ID> where
ID: PrimInt + Unsigned, [src]
ID: PrimInt + Unsigned,
impl<ID: Debug> Debug for Edge<ID> where
ID: PrimInt + Unsigned, [src]
ID: PrimInt + Unsigned,
impl<ID> PartialEq for Edge<ID> where
ID: PrimInt + Unsigned, [src]
ID: PrimInt + Unsigned,
fn eq(&self, other: &Self) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl<ID> Edge for Edge<ID> where
ID: PrimInt + Unsigned, [src]
ID: PrimInt + Unsigned,
impl<ID> Display for Edge<ID> where
ID: PrimInt + Unsigned + Display, [src]
ID: PrimInt + Unsigned + Display,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
impl<ID> Hash for Edge<ID> where
ID: PrimInt + Unsigned + Hash, [src]
ID: PrimInt + Unsigned + Hash,
fn hash<H: Hasher>(&self, state: &mut H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl<ID> NumberedEdge for Edge<ID> where
ID: PrimInt + Unsigned, [src]
ID: PrimInt + Unsigned,
impl<ID> BiNumberedEdge for Edge<ID> where
ID: PrimInt + Unsigned, [src]
ID: PrimInt + Unsigned,