Struct fera_graph::props::DelegateVertexProp
source · pub struct DelegateVertexProp<G: WithVertexProp<T>, T>(_);
Expand description
A vertex property that delegates all operations to a wrapped property.
Trait Implementations
sourceimpl<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>
sourceimpl<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>
sourceimpl<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>,
sourcefn new_vertex_prop(g: &G, value: T) -> Selfwhere
T: Clone,
fn new_vertex_prop(g: &G, value: T) -> Selfwhere
T: Clone,
Creates a new vertex prop. Read more
Auto Trait Implementations
impl<G, T> RefUnwindSafe for DelegateVertexProp<G, T>where
<G as WithVertexProp<T>>::VertexProp: RefUnwindSafe,
impl<G, T> Send for DelegateVertexProp<G, T>where
<G as WithVertexProp<T>>::VertexProp: Send,
impl<G, T> Sync for DelegateVertexProp<G, T>where
<G as WithVertexProp<T>>::VertexProp: Sync,
impl<G, T> Unpin for DelegateVertexProp<G, T>where
<G as WithVertexProp<T>>::VertexProp: Unpin,
impl<G, T> UnwindSafe for DelegateVertexProp<G, T>where
<G as WithVertexProp<T>>::VertexProp: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoOwned<T> for T
impl<T> IntoOwned<T> for T
fn into_owned(self) -> T
sourceimpl<P, Idx> PropIndexMut<Idx> for Pwhere
P: IndexMut<Idx>,
impl<P, Idx> PropIndexMut<Idx> for Pwhere
P: IndexMut<Idx>,
sourcefn set_values_from<P, I>(&mut self, iter: I, source: &P)where
I: IntoIterator,
I::Item: IntoOwned<Idx>,
Idx: Clone,
P: Index<Idx, Output = Self::Output>,
Self::Output: Clone,
fn set_values_from<P, I>(&mut self, iter: I, source: &P)where
I: IntoIterator,
I::Item: IntoOwned<Idx>,
Idx: Clone,
P: Index<Idx, Output = Self::Output>,
Self::Output: Clone,
Set the value associated with each key produced by
iter
to the value associated with the
key in the property source
. Read moresourcefn set_values<I>(&mut self, iter: I, value: Self::Output)where
I: IntoIterator,
I::Item: IntoOwned<Idx>,
Self::Output: Clone,
fn set_values<I>(&mut self, iter: I, value: Self::Output)where
I: IntoIterator,
I::Item: IntoOwned<Idx>,
Self::Output: Clone,
Set the value associated with keys produced by
iter
to value
.