pub trait Approx: Clone + Zero {
    // Required method
    fn is_negligible(&self) -> bool;

    // Provided method
    fn round(&self) -> Self { ... }
}

Required Methods§

Provided Methods§

source

fn round(&self) -> Self

Implementations on Foreign Types§

source§

impl Approx for f64

Implementors§