pub struct DelegateVertexProp<G: WithVertexProp<T>, T>(/* private fields */);Expand description
A vertex property that delegates all operations to a wrapped property.
Trait Implementations§
Source§impl<G: WithVertexProp<T>, T> Index<<G as WithVertex>::Vertex> for DelegateVertexProp<G, T>
impl<G: WithVertexProp<T>, T> Index<<G as WithVertex>::Vertex> for DelegateVertexProp<G, T>
Source§impl<G: WithVertexProp<T>, T> IndexMut<<G as WithVertex>::Vertex> for DelegateVertexProp<G, T>
impl<G: WithVertexProp<T>, T> IndexMut<<G as WithVertex>::Vertex> for DelegateVertexProp<G, T>
Source§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>,
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>,
Auto Trait Implementations§
impl<G, T> Freeze for DelegateVertexProp<G, T>
impl<G, T> RefUnwindSafe for DelegateVertexProp<G, T>
impl<G, T> Send for DelegateVertexProp<G, T>
impl<G, T> Sync for DelegateVertexProp<G, T>
impl<G, T> Unpin for DelegateVertexProp<G, T>
impl<G, T> UnsafeUnpin for DelegateVertexProp<G, T>
impl<G, T> UnwindSafe for DelegateVertexProp<G, T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<P, Idx> PropIndexMut<Idx> for Pwhere
P: IndexMut<Idx>,
impl<P, Idx> PropIndexMut<Idx> for Pwhere
P: IndexMut<Idx>,
Source§fn set_values_from<P, I>(&mut self, iter: I, source: &P)
fn set_values_from<P, I>(&mut self, iter: I, source: &P)
Set the value associated with each key produced by
iter to the value associated with the
key in the property source.Source§fn set_values<I>(&mut self, iter: I, value: Self::Output)
fn set_values<I>(&mut self, iter: I, value: Self::Output)
Set the value associated with keys produced by
iter to value.