Trait agnes::apply::MapFn [] [src]

pub trait MapFn {
    type Output: IntoMaybeNa;
    fn apply_unsigned(&mut self, value: MaybeNa<&u64>) -> Self::Output;
fn apply_signed(&mut self, value: MaybeNa<&i64>) -> Self::Output;
fn apply_text(&mut self, value: MaybeNa<&String>) -> Self::Output;
fn apply_boolean(&mut self, value: MaybeNa<&bool>) -> Self::Output;
fn apply_float(&mut self, value: MaybeNa<&f64>) -> Self::Output; }

Trait for a type-dependent function that applies to a specific element.

Associated Types

The desired output of this function.

Required Methods

The method to use when working with unsigned (u64) data.

The method to use when working with signed (i64) data.

The method to use when working with text (String) data.

The method to use when working with boolean (bool) data.

The method to use when working with floating-point (f64) data.

Implementors