Trait agnes::apply::ApplyToField [] [src]

pub trait ApplyToField<S: Selector> {
    fn apply_to_field<T: FieldFn>(&self, f: T, select: S) -> Result<T::Output>;
}

Trait implemented by data structures which wish to be able to support FieldFns (type-dependent functions that apply to an entire field).

Required Methods

Apply a FieldFn to a field selected with the provided Selector.

Implementors