pub trait VertexPropMutNew<G, T>: VertexPropMut<G, T>where
    G: WithVertex,
{ fn new_vertex_prop(g: &G, value: T) -> Self
    where
        T: Clone
; }
Expand description

A vertex property that can be created using a graph reference and a value.

Required Methods

Creates a new vertex prop.

This method is rarely called explicitly, it is instead used through WithVertex::vertex_prop.

Implementors