Trait EpsEq

Source
pub trait EpsEq: Copy + PartialOrd {
    // Provided methods
    fn eps_eq(self, r: Self) -> bool { ... }
    fn trsh_eq(self, r: Self, _: Self) -> bool { ... }
}

Provided Methods§

Source

fn eps_eq(self, r: Self) -> bool

Source

fn trsh_eq(self, r: Self, _: Self) -> bool

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 EpsEq for bool

Source§

impl EpsEq for f32

Source§

fn eps_eq(self, r: Self) -> bool

Source§

fn trsh_eq(self, r: Self, e: Self) -> bool

Source§

impl EpsEq for f64

Source§

fn eps_eq(self, r: Self) -> bool

Source§

fn trsh_eq(self, r: Self, e: Self) -> bool

Source§

impl EpsEq for i8

Source§

impl EpsEq for i16

Source§

impl EpsEq for i32

Source§

impl EpsEq for i64

Source§

impl EpsEq for i128

Source§

impl EpsEq for isize

Source§

impl EpsEq for u8

Source§

impl EpsEq for u16

Source§

impl EpsEq for u32

Source§

impl EpsEq for u64

Source§

impl EpsEq for u128

Source§

impl EpsEq for usize

Implementors§