Trait rs_graph::traits::DirectedEdge [−][src]
pub trait DirectedEdge { type Edge; fn is_incoming(&self) -> bool; fn edge(&self) -> Self::Edge; fn is_outgoing(&self) -> bool { ... } }
A directed edge.
A directed edge is either incoming or outgoing.
Associated Types
Loading content...Required methods
fn is_incoming(&self) -> bool
[src]
Whether the edge is incoming.
fn edge(&self) -> Self::Edge
[src]
The underlying edge.
Provided methods
fn is_outgoing(&self) -> bool
[src]
Whether the edge is outgoing.
Implementors
impl<E> DirectedEdge for NetworkDirectedEdge<E> where
E: Clone,
[src]
impl<E> DirectedEdge for NetworkDirectedEdge<E> where
E: Clone,
[src]impl<ID> DirectedEdge for rs_graph::linkedlistgraph::Edge<ID> where
ID: PrimInt + Unsigned,
[src]
impl<ID> DirectedEdge for rs_graph::linkedlistgraph::Edge<ID> where
ID: PrimInt + Unsigned,
[src]