[][src]Trait agnes::stats::Extrema

pub trait Extrema {
    type Output;
    fn min(&self) -> Option<&Self::Output>;
fn max(&self) -> Option<&Self::Output>; }

A trait for computing the upper and lower extrema values for a field.

Associated Types

type Output

The data type of the upper and lower values.

Loading content...

Required methods

fn min(&self) -> Option<&Self::Output>

The minimum value in this field. Returns None if no values exist in this field.

fn max(&self) -> Option<&Self::Output>

The maximum value in this field. Returns None if no values exist in this field.

Loading content...

Implementors

impl<DI> Extrema for DI where
    DI: DataIndex,
    DI::DType: PartialOrd
[src]

type Output = DI::DType

Loading content...