Trait polars_utils::min_max::MinMax

source ·
pub trait MinMax: Sized {
    // Required methods
    fn nan_min_lt(&self, other: &Self) -> bool;
    fn nan_max_lt(&self, other: &Self) -> bool;

    // Provided methods
    fn min_propagate_nan(self, other: Self) -> Self { ... }
    fn max_propagate_nan(self, other: Self) -> Self { ... }
    fn min_ignore_nan(self, other: Self) -> Self { ... }
    fn max_ignore_nan(self, other: Self) -> Self { ... }
}

Required Methods§

source

fn nan_min_lt(&self, other: &Self) -> bool

source

fn nan_max_lt(&self, other: &Self) -> bool

Provided Methods§

source

fn min_propagate_nan(self, other: Self) -> Self

source

fn max_propagate_nan(self, other: Self) -> Self

source

fn min_ignore_nan(self, other: Self) -> Self

source

fn max_ignore_nan(self, other: Self) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl MinMax for &str

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for &[u8]

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for bool

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for char

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for f32

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

fn min_ignore_nan(self, other: Self) -> Self

source§

fn max_ignore_nan(self, other: Self) -> Self

source§

fn min_propagate_nan(self, other: Self) -> Self

source§

fn max_propagate_nan(self, other: Self) -> Self

source§

impl MinMax for f64

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

fn min_ignore_nan(self, other: Self) -> Self

source§

fn max_ignore_nan(self, other: Self) -> Self

source§

fn min_propagate_nan(self, other: Self) -> Self

source§

fn max_propagate_nan(self, other: Self) -> Self

source§

impl MinMax for i8

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for i16

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for i32

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for i64

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for i128

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for isize

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for u8

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for u16

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for u32

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for u64

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for u128

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for usize

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

source§

impl MinMax for String

source§

fn nan_min_lt(&self, other: &Self) -> bool

source§

fn nan_max_lt(&self, other: &Self) -> bool

Implementors§