Trait fera_graph::props::EdgePropMutNew
[−]
[src]
pub trait EdgePropMutNew<G, T>: EdgePropMut<G, T> where
G: WithEdge, { fn new_edge_prop(g: &G, value: T) -> Self
where
T: Clone; }
An edge property that can be read/write using indexing operation.
Required Methods
fn new_edge_prop(g: &G, value: T) -> Self where
T: Clone,
T: Clone,
Creates a new edge prop.
This method is rarely called explicitly, it is instead used through
WithEdge::edge_prop
.
Implementors
impl<T, G> EdgePropMutNew<G, T> for ArrayProp<EdgeIndexProp<G>, Vec<T>> where
G: EdgeList + WithEdgeIndexProp,impl<G, D, T> EdgePropMutNew<G, T> for DelegateEdgeProp<D, T> where
G: WithEdge<Edge = Edge<D>, OptionEdge = OptionEdge<D>> + AsRef<D>,
D: WithEdgeProp<T>,impl<G, T, S> EdgePropMutNew<G, T> for HashMapProp<Edge<G>, T, S> where
G: WithEdge,
T: Clone,
S: BuildHasher + Default,impl<G, T> EdgePropMutNew<G, T> for IgnoreWriteProp<T> where
G: WithEdge,
T: Clone,