Struct agnes::apply::FieldSelector
[−]
[src]
pub struct FieldSelector<'a>(pub &'a FieldIdent);
A data selector using only a field identifier. Used to select a specific field to be passed to
FieldFn
.
Trait Implementations
impl<'a> ApplyToField<FieldSelector<'a>> for DataStore
[src]
fn apply_to_field<F: FieldFn>(
&self,
f: F,
select: FieldSelector
) -> Result<F::Output>
[src]
&self,
f: F,
select: FieldSelector
) -> Result<F::Output>
Apply a FieldFn
to a field selected with the provided Selector
.
impl<'a, 'b, 'c> ApplyToField2<FieldSelector<'a>> for (&'b DataStore, &'c DataStore)
[src]
fn apply_to_field2<T: Field2Fn>(
&self,
f: T,
select: (FieldSelector, FieldSelector)
) -> Result<T::Output>
[src]
&self,
f: T,
select: (FieldSelector, FieldSelector)
) -> Result<T::Output>
Apply a Field2Fn
(a function that operates simultaneously on fields from two different sources) to fields selected with the provided Selector
s. Read more
impl<'a> ApplyToField<FieldSelector<'a>> for DataView
[src]
fn apply_to_field<T: FieldFn>(
&self,
f: T,
select: FieldSelector
) -> Result<T::Output>
[src]
&self,
f: T,
select: FieldSelector
) -> Result<T::Output>
Apply a FieldFn
to a field selected with the provided Selector
.
impl<'a> ApplyToField2<FieldSelector<'a>> for DataView
[src]
fn apply_to_field2<T: Field2Fn>(
&self,
f: T,
select: (FieldSelector, FieldSelector)
) -> Result<T::Output>
[src]
&self,
f: T,
select: (FieldSelector, FieldSelector)
) -> Result<T::Output>
Apply a Field2Fn
(a function that operates simultaneously on fields from two different sources) to fields selected with the provided Selector
s. Read more
impl<'a, 'b, 'c> ApplyToField2<FieldSelector<'a>> for (&'b DataView, &'c DataView)
[src]
fn apply_to_field2<T: Field2Fn>(
&self,
f: T,
select: (FieldSelector, FieldSelector)
) -> Result<T::Output>
[src]
&self,
f: T,
select: (FieldSelector, FieldSelector)
) -> Result<T::Output>
Apply a Field2Fn
(a function that operates simultaneously on fields from two different sources) to fields selected with the provided Selector
s. Read more
impl<'a> ApplyToField<FieldSelector<'a>> for DataFrame
[src]
fn apply_to_field<F: FieldFn>(
&self,
f: F,
select: FieldSelector
) -> Result<F::Output>
[src]
&self,
f: F,
select: FieldSelector
) -> Result<F::Output>
Apply a FieldFn
to a field selected with the provided Selector
.
impl<'a, 'b, 'c> ApplyToField2<FieldSelector<'a>> for (&'b DataFrame, &'c DataFrame)
[src]
fn apply_to_field2<F: Field2Fn>(
&self,
f: F,
select: (FieldSelector, FieldSelector)
) -> Result<F::Output>
[src]
&self,
f: F,
select: (FieldSelector, FieldSelector)
) -> Result<F::Output>
Apply a Field2Fn
(a function that operates simultaneously on fields from two different sources) to fields selected with the provided Selector
s. Read more
impl<'a> Selector for FieldSelector<'a>
[src]
type IndexType = &'a FieldIdent
The type of the selector (the information used to specify what the FieldFn
or ElemFn
operates upon). Read more
fn index(&self) -> &'a FieldIdent
[src]
Returns the field / element selector details.