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)
.
Methods
impl<ID> Edge<ID> where
ID: PrimInt + Unsigned,
[src]
ID: PrimInt + Unsigned,
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>
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<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
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
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>
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,