Trait Edge

Source
pub trait Edge {
    type ID;

    // Required methods
    fn source(&self) -> Self::ID;
    fn target(&self) -> Self::ID;
}

Required Associated Types§

Required Methods§

Source

fn source(&self) -> Self::ID

Source

fn target(&self) -> Self::ID

Implementors§

Source§

impl Edge for TrivialEdge

Source§

impl<EdgeDataT: Eq> Edge for InputEdge<EdgeDataT>