pub struct DelegateEdgeProp<G, T>(/* private fields */)
where
G: WithEdgeProp<T>;Expand description
An edge property that delegates all operations to a wrapped property.
Trait Implementations§
Source§impl<G, D, T> EdgePropMutNew<G, T> for DelegateEdgeProp<D, T>where
G: WithEdge<Edge = <D as WithEdge>::Edge, OptionEdge = <D as WithEdge>::OptionEdge> + AsRef<D>,
D: WithEdgeProp<T>,
impl<G, D, T> EdgePropMutNew<G, T> for DelegateEdgeProp<D, T>where
G: WithEdge<Edge = <D as WithEdge>::Edge, OptionEdge = <D as WithEdge>::OptionEdge> + AsRef<D>,
D: WithEdgeProp<T>,
Source§fn new_edge_prop(g: &G, value: T) -> DelegateEdgeProp<D, T>where
T: Clone,
fn new_edge_prop(g: &G, value: T) -> DelegateEdgeProp<D, T>where
T: Clone,
Creates a new edge prop. Read more
Source§impl<G, T> Index<<G as WithEdge>::Edge> for DelegateEdgeProp<G, T>where
G: WithEdgeProp<T>,
impl<G, T> Index<<G as WithEdge>::Edge> for DelegateEdgeProp<G, T>where
G: WithEdgeProp<T>,
Source§impl<G, T> IndexMut<<G as WithEdge>::Edge> for DelegateEdgeProp<G, T>where
G: WithEdgeProp<T>,
impl<G, T> IndexMut<<G as WithEdge>::Edge> for DelegateEdgeProp<G, T>where
G: WithEdgeProp<T>,
Auto Trait Implementations§
impl<G, T> Freeze for DelegateEdgeProp<G, T>
impl<G, T> RefUnwindSafe for DelegateEdgeProp<G, T>
impl<G, T> Send for DelegateEdgeProp<G, T>
impl<G, T> Sync for DelegateEdgeProp<G, T>
impl<G, T> Unpin for DelegateEdgeProp<G, T>
impl<G, T> UnwindSafe for DelegateEdgeProp<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)where
I: IntoIterator,
<I as IntoIterator>::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 as IntoIterator>::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.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.