polars_utils::slice

Trait Extrema

Source
pub trait Extrema<T> {
    // Required methods
    fn min_value(&self) -> Option<&T>;
    fn max_value(&self) -> Option<&T>;
}

Required Methods§

Source

fn min_value(&self) -> Option<&T>

Source

fn max_value(&self) -> Option<&T>

Implementations on Foreign Types§

Source§

impl<T: PartialOrd> Extrema<T> for [T]

Implementors§