[][src]Trait rs_graph::traits::DirectedEdge

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

type Edge

The underlying edge.

Loading content...

Required methods

fn is_incoming(&self) -> bool

Whether the edge is incoming.

fn edge(&self) -> Self::Edge

The underlying edge.

Loading content...

Provided methods

fn is_outgoing(&self) -> bool

Whether the edge is outgoing.

Loading content...

Implementors

impl<E> DirectedEdge for NetworkDirectedEdge<E> where
    E: Clone
[src]

type Edge = E

impl<ID> DirectedEdge for Edge<ID> where
    ID: PrimInt + Unsigned
[src]

type Edge = Self

Loading content...