0.1.0[][src]Trait appro_eq::Tolerance

pub trait Tolerance<Diff = Self> {
    fn tolerance() -> Diff;
}

Required methods

fn tolerance() -> Diff

Loading content...

Implementations on Foreign Types

impl<A: Integer + Clone> Tolerance<Ratio<A>> for Ratio<A>[src]

impl Tolerance<f32> for f32[src]

tolerance is 1e-6 for f32

impl Tolerance<f64> for f64[src]

tolerance is 1e-6 for f64

impl Tolerance<i8> for i8[src]

tolerance is zero for $T

impl Tolerance<i16> for i16[src]

tolerance is zero for $T

impl Tolerance<i32> for i32[src]

tolerance is zero for $T

impl Tolerance<i64> for i64[src]

tolerance is zero for $T

impl Tolerance<i128> for i128[src]

tolerance is zero for $T

impl Tolerance<u8> for u8[src]

impl Tolerance<u16> for u16[src]

impl Tolerance<u32> for u32[src]

impl Tolerance<u64> for u64[src]

impl Tolerance<u128> for u128[src]

Loading content...

Implementors

Loading content...