Trait polars_utils::total_ord::TotalEq

source ·
pub trait TotalEq {
    // Required method
    fn tot_eq(&self, other: &Self) -> bool;

    // Provided method
    fn tot_ne(&self, other: &Self) -> bool { ... }
}
Expand description

Alternative trait for Eq. By consistently using this we can still be generic w.r.t Eq while getting a total ordering for floats.

Required Methods§

source

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

Provided Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TotalEq for &str

source§

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

source§

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

source§

impl TotalEq for &[u8]

source§

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

source§

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

source§

impl TotalEq for bool

source§

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

source§

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

source§

impl TotalEq for char

source§

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

source§

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

source§

impl TotalEq for f32

source§

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

source§

impl TotalEq for f64

source§

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

source§

impl TotalEq for i8

source§

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

source§

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

source§

impl TotalEq for i16

source§

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

source§

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

source§

impl TotalEq for i32

source§

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

source§

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

source§

impl TotalEq for i64

source§

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

source§

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

source§

impl TotalEq for i128

source§

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

source§

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

source§

impl TotalEq for isize

source§

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

source§

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

source§

impl TotalEq for u8

source§

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

source§

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

source§

impl TotalEq for u16

source§

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

source§

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

source§

impl TotalEq for u32

source§

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

source§

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

source§

impl TotalEq for u64

source§

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

source§

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

source§

impl TotalEq for u128

source§

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

source§

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

source§

impl TotalEq for usize

source§

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

source§

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

source§

impl TotalEq for String

source§

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

source§

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

source§

impl<T: TotalEq + ?Sized> TotalEq for &T

source§

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

source§

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

source§

impl<T: TotalEq> TotalEq for Option<T>

source§

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

source§

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

source§

impl<T: TotalEq, U: TotalEq> TotalEq for (T, U)

source§

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

Implementors§

source§

impl<'a> TotalEq for BytesHash<'a>