polars::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: f32) -> f32

Source§

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

Source§

impl TakeExtremum for f64

Source§

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

Source§

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

Source§

impl TakeExtremum for i8

Source§

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

Source§

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

Source§

impl TakeExtremum for i16

Source§

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

Source§

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

Source§

impl TakeExtremum for i32

Source§

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

Source§

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

Source§

impl TakeExtremum for i64

Source§

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

Source§

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

Source§

impl TakeExtremum for i128

Source§

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

Source§

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

Source§

impl TakeExtremum for u8

Source§

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

Source§

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

Source§

impl TakeExtremum for u16

Source§

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

Source§

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

Source§

impl TakeExtremum for u32

Source§

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

Source§

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

Source§

impl TakeExtremum for u64

Source§

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

Source§

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

Implementors§