Struct fera_graph::props::DelegateEdgeProp
[−]
[src]
pub struct DelegateEdgeProp<G: WithEdgeProp<T>, T>(_);
An edge property that delegates all operations to a wrapped property.
Trait Implementations
impl<G: WithEdgeProp<T>, T> Index<Edge<G>> for DelegateEdgeProp<G, T>
[src]
type Output = T
The returned type after indexing.
fn index(&self, v: Edge<G>) -> &Self::Output
[src]
Performs the indexing (container[index]
) operation.
impl<G: WithEdgeProp<T>, T> IndexMut<Edge<G>> for DelegateEdgeProp<G, T>
[src]
fn index_mut(&mut self, v: Edge<G>) -> &mut Self::Output
[src]
Performs the mutable indexing (container[index]
) operation.
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>,
[src]
G: WithEdge<Edge = Edge<D>, OptionEdge = OptionEdge<D>> + AsRef<D>,
D: WithEdgeProp<T>,
fn new_edge_prop(g: &G, value: T) -> Self where
T: Clone,
[src]
T: Clone,
Creates a new edge prop. Read more