polars_core::frame::group_by::aggregations

Trait TakeExtremum

Source
pub trait TakeExtremum {
    // Required methods
    fn take_min(self, other: Self) -> Self;
    fn take_max(self, other: Self) -> Self;
}
Available on crate feature algorithm_group_by only.

Required Methods§

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TakeExtremum for f32

Source§

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

Source§

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

Source§

impl TakeExtremum for f64

Source§

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

Source§

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

Source§

impl TakeExtremum for i32

Source§

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

Source§

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

Source§

impl TakeExtremum for i64

Source§

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

Source§

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

Source§

impl TakeExtremum for i128

Source§

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

Source§

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

Source§

impl TakeExtremum for u32

Source§

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

Source§

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

Source§

impl TakeExtremum for u64

Source§

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

Source§

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

Implementors§