pub struct ArrayProp<P, D> { /* private fields */ }Expand description
A property backed by an array.
Trait Implementations§
Source§impl<T, G> EdgePropMutNew<G, T> for ArrayProp<EdgeIndexProp<G>, Vec<T>>where
G: EdgeList + WithEdgeIndexProp,
impl<T, G> EdgePropMutNew<G, T> for ArrayProp<EdgeIndexProp<G>, Vec<T>>where
G: EdgeList + WithEdgeIndexProp,
Source§impl<I, P, D> PropGet<I> for ArrayProp<P, D>
impl<I, P, D> PropGet<I> for ArrayProp<P, D>
Source§impl<T, G> VertexPropMutNew<G, T> for ArrayProp<VertexIndexProp<G>, Vec<T>>where
G: VertexList + WithVertexIndexProp,
impl<T, G> VertexPropMutNew<G, T> for ArrayProp<VertexIndexProp<G>, Vec<T>>where
G: VertexList + WithVertexIndexProp,
Auto Trait Implementations§
impl<P, D> Freeze for ArrayProp<P, D>
impl<P, D> RefUnwindSafe for ArrayProp<P, D>where
P: RefUnwindSafe,
D: RefUnwindSafe,
impl<P, D> Send for ArrayProp<P, D>
impl<P, D> Sync for ArrayProp<P, D>
impl<P, D> Unpin for ArrayProp<P, D>
impl<P, D> UnwindSafe for ArrayProp<P, D>where
P: UnwindSafe,
D: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.