Trait NodeAttributes

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