Struct fera_graph::props::DelegateVertexProp
[−]
[src]
pub struct DelegateVertexProp<G: WithVertexProp<T>, T>(_);
A vertex property that delegates all operations to a wrapped property.
Trait Implementations
impl<G: WithVertexProp<T>, T> Index<Vertex<G>> for DelegateVertexProp<G, T>
[src]
type Output = T
The returned type after indexing.
fn index(&self, v: Vertex<G>) -> &Self::Output
[src]
Performs the indexing (container[index]
) operation.
impl<G: WithVertexProp<T>, T> IndexMut<Vertex<G>> for DelegateVertexProp<G, T>
[src]
fn index_mut(&mut self, v: Vertex<G>) -> &mut Self::Output
[src]
Performs the mutable indexing (container[index]
) operation.
impl<G, D, T> VertexPropMutNew<G, T> for DelegateVertexProp<D, T> where
G: WithVertex<Vertex = Vertex<D>, OptionVertex = OptionVertex<D>> + AsRef<D>,
D: WithVertexProp<T>,
[src]
G: WithVertex<Vertex = Vertex<D>, OptionVertex = OptionVertex<D>> + AsRef<D>,
D: WithVertexProp<T>,
fn new_vertex_prop(g: &G, value: T) -> Self where
T: Clone,
[src]
T: Clone,
Creates a new vertex prop. Read more