pub trait EdgePropMutNew<G, T>: EdgePropMut<G, T>where
G: WithEdge,{
// Required method
fn new_edge_prop(g: &G, value: T) -> Self
where T: Clone;
}Expand description
An edge property that can be read/write using indexing operation.
Required Methods§
Sourcefn new_edge_prop(g: &G, value: T) -> Selfwhere
T: Clone,
fn new_edge_prop(g: &G, value: T) -> Selfwhere
T: Clone,
Creates a new edge prop.
This method is rarely called explicitly, it is instead used through
WithEdge::edge_prop.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.