Struct fera_graph::props::DelegateEdgeProp
source · pub struct DelegateEdgeProp<G: WithEdgeProp<T>, T>(_);
Expand description
An edge property that delegates all operations to a wrapped property.
Trait Implementations
sourceimpl<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, D, T> EdgePropMutNew<G, T> for DelegateEdgeProp<D, T>where
G: WithEdge<Edge = Edge<D>, OptionEdge = OptionEdge<D>> + AsRef<D>,
D: WithEdgeProp<T>,
sourcefn new_edge_prop(g: &G, value: T) -> Selfwhere
T: Clone,
fn new_edge_prop(g: &G, value: T) -> Selfwhere
T: Clone,
Creates a new edge prop. Read more
sourceimpl<G: WithEdgeProp<T>, T> Index<<G as WithEdge>::Edge> for DelegateEdgeProp<G, T>
impl<G: WithEdgeProp<T>, T> Index<<G as WithEdge>::Edge> for DelegateEdgeProp<G, T>
Auto Trait Implementations
impl<G, T> RefUnwindSafe for DelegateEdgeProp<G, T>where
<G as WithEdgeProp<T>>::EdgeProp: RefUnwindSafe,
impl<G, T> Send for DelegateEdgeProp<G, T>where
<G as WithEdgeProp<T>>::EdgeProp: Send,
impl<G, T> Sync for DelegateEdgeProp<G, T>where
<G as WithEdgeProp<T>>::EdgeProp: Sync,
impl<G, T> Unpin for DelegateEdgeProp<G, T>where
<G as WithEdgeProp<T>>::EdgeProp: Unpin,
impl<G, T> UnwindSafe for DelegateEdgeProp<G, T>where
<G as WithEdgeProp<T>>::EdgeProp: 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
.