Trait agnes::data_types::Func[][src]

pub trait Func<DTypes, T> {
    type Output;
    fn call(&mut self, data: &DataIndex<DTypes, DType = T>) -> Self::Output;
}

Trait for a function applied to a specified type T in DTypes. Used with the methods map and tmap in the DataView struct.

Associated Types

Return value of this function.

Required Methods

This method is called with a trait object that implements DataIndex, which provides access to a field's data.

Implementors