pub trait EdgeAttributes<G, Attr>where
    G: Graph,{
    // Required methods
    fn edge(&self, e: G::Edge<'_>) -> &Attr;
    fn edge_mut(&mut self, e: G::Edge<'_>) -> &mut Attr;
}
Expand description

Object with associated edge attributes.

Required Methods§

source

fn edge(&self, e: G::Edge<'_>) -> &Attr

source

fn edge_mut(&mut self, e: G::Edge<'_>) -> &mut Attr

Implementors§

source§

impl<ID, N, E> EdgeAttributes<LinkedListGraph<ID, N, E>, E> for LinkedListGraph<ID, N, E>where ID: PrimInt + Unsigned + 'static,