Trait number_traits::ApproxEq
[−]
[src]
pub trait ApproxEq { fn approx_eq(&self, other: &Self) -> bool; fn approx_eq_tolerance(&self, other: &Self, tolerance: &Self) -> bool; fn approx_ne(&self, other: &Self) -> bool { ... } fn approx_ne_tolerance(&self, other: &Self, tolerance: &Self) -> bool { ... } }
Required Methods
fn approx_eq(&self, other: &Self) -> bool
fn approx_eq_tolerance(&self, other: &Self, tolerance: &Self) -> bool
Provided Methods
fn approx_ne(&self, other: &Self) -> bool
fn approx_ne_tolerance(&self, other: &Self, tolerance: &Self) -> bool
Implementations on Foreign Types
impl<T> ApproxEq for Wrapping<T> where
T: ApproxEq,
[src]
T: ApproxEq,
fn approx_eq(&self, other: &Self) -> bool
[src]
fn approx_ne(&self, other: &Self) -> bool
[src]
fn approx_eq_tolerance(&self, other: &Self, tolerance: &Self) -> bool
[src]
fn approx_ne_tolerance(&self, other: &Self, tolerance: &Self) -> bool
[src]
Implementors
impl ApproxEq for usize
impl ApproxEq for u8
impl ApproxEq for u16
impl ApproxEq for u32
impl ApproxEq for u64
impl ApproxEq for u128
impl ApproxEq for isize
impl ApproxEq for i8
impl ApproxEq for i16
impl ApproxEq for i32
impl ApproxEq for i64
impl ApproxEq for i128
impl ApproxEq for f32
impl ApproxEq for f64