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