Trait polars_utils::abs_diff::AbsDiff

source ·
pub trait AbsDiff {
    type Abs: Num + PartialOrd + Copy + Debug + Send + Sync;

    // Required methods
    fn max_abs_diff() -> Self::Abs;
    fn abs_diff(self, other: Self) -> Self::Abs;
}

Required Associated Types§

Required Methods§

source

fn max_abs_diff() -> Self::Abs

source

fn abs_diff(self, other: Self) -> Self::Abs

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl AbsDiff for f32

§

type Abs = f32

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for f64

§

type Abs = f64

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for i8

§

type Abs = u8

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for i16

§

type Abs = u16

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for i32

§

type Abs = u32

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for i64

§

type Abs = u64

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for i128

§

type Abs = u128

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for isize

§

type Abs = usize

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for u8

§

type Abs = u8

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for u16

§

type Abs = u16

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for u32

§

type Abs = u32

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for u64

§

type Abs = u64

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for u128

§

type Abs = u128

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

source§

impl AbsDiff for usize

§

type Abs = usize

source§

fn max_abs_diff() -> Self::Abs

source§

fn abs_diff(self, other: Self) -> Self::Abs

Implementors§