pub trait NodeAttributes<G, Attr>where
    G: Graph,{
    // Required methods
    fn node(&self, u: G::Node<'_>) -> &Attr;
    fn node_mut(&mut self, u: G::Node<'_>) -> &mut Attr;
}
Expand description

Object with associated node attributes.

Required Methods§

source

fn node(&self, u: G::Node<'_>) -> &Attr

source

fn node_mut(&mut self, u: G::Node<'_>) -> &mut Attr

Implementors§

source§

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