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§
fn node(&self, u: G::Node<'_>) -> &Attr
fn node_mut(&mut self, u: G::Node<'_>) -> &mut Attr
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".