Struct agnes::apply::FieldIndexSelector
[−]
[src]
pub struct FieldIndexSelector<'a>(pub &'a FieldIdent, pub usize);
A data selector using both a data field identifier and the data index. Used to select a
specific element in a two-dimensional data structs (with both fields and elements) along with
a FieldFn
.
Trait Implementations
impl<'a> ApplyToElem<FieldIndexSelector<'a>> for DataStore
[src]
fn apply_to_elem<F: ElemFn>(
&self,
f: F,
select: FieldIndexSelector
) -> Result<F::Output>
[src]
&self,
f: F,
select: FieldIndexSelector
) -> Result<F::Output>
Apply an ElemFn
to an element selected with the provided Selector
.
impl<'a> ApplyToElem<FieldIndexSelector<'a>> for DataView
[src]
fn apply_to_elem<T: ElemFn>(
&self,
f: T,
select: FieldIndexSelector<'a>
) -> Result<T::Output>
[src]
&self,
f: T,
select: FieldIndexSelector<'a>
) -> Result<T::Output>
Apply an ElemFn
to an element selected with the provided Selector
.
impl<'a> ApplyToElem<FieldIndexSelector<'a>> for DataFrame
[src]
fn apply_to_elem<T: ElemFn>(
&self,
f: T,
select: FieldIndexSelector
) -> Result<T::Output>
[src]
&self,
f: T,
select: FieldIndexSelector
) -> Result<T::Output>
Apply an ElemFn
to an element selected with the provided Selector
.