[][src]Trait abstractgraph::OutEdge

pub trait OutEdge<N> {
    fn destination(&self) -> N;

    fn into_destination(self) -> N
    where
        Self: Sized
, { ... } }

The trait for types representing a single graph edge from a known graph node

This could be a reference to some internal part of your data structure, an index or whatever else is suitable for your graph representation.

Required methods

fn destination(&self) -> N

Returns the destination node of self

Loading content...

Provided methods

fn into_destination(self) -> N where
    Self: Sized

Consume self and return its destination node instead

Loading content...

Implementors

impl<N: Clone> OutEdge<N> for SimpleEdge<N>[src]

Loading content...