[][src]Trait btree_graph::Connections

pub trait Connections<T> {
    type Error;
    pub fn connections(&self, x: T) -> Result<BTreeSet<&T>, Self::Error>;
}

Connections lists all vertices y such that there is an edge from the vertex x to the vertex y. An error is thrown if x does not exist.

Associated Types

Loading content...

Required methods

pub fn connections(&self, x: T) -> Result<BTreeSet<&T>, Self::Error>[src]

Loading content...

Implementors

impl<V, E> Connections<V> for BTreeGraph<V, E> where
    V: Ord,
    E: Ord
[src]

type Error = Error

Loading content...