Trait fera_graph::props::PropIndexMut
[−]
[src]
pub trait PropIndexMut<Idx>: IndexMut<Idx> { 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, { ... } fn set_values<I>(&mut self, iter: I, value: Self::Output)
where
I: IntoIterator,
I::Item: IntoOwned<Idx>,
Self::Output: Clone, { ... } }
A property that can be read/write using indexing operations.
Provided Methods
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,
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
.
fn set_values<I>(&mut self, iter: I, value: Self::Output) where
I: IntoIterator,
I::Item: IntoOwned<Idx>,
Self::Output: Clone,
I: IntoIterator,
I::Item: IntoOwned<Idx>,
Self::Output: Clone,
Set the value associated with keys produced by iter
to value
.
Implementors
impl<P: IndexMut<Idx>, Idx> PropIndexMut<Idx> for P