Trait deltae::eq::Tolerance

source ·
pub trait Tolerance {
    // Required method
    fn tolerance(self) -> f32;
}
Expand description

Trait to define a tolerance value for the DeltaEq trait

Required Methods§

source

fn tolerance(self) -> f32

Return a tolerance value

Implementations on Foreign Types§

source§

impl Tolerance for f64

source§

impl Tolerance for f32

Implementors§