Trait EdgeAttributes

Source
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,