Approx

Trait Approx 

Source
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

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 Approx for f64

Implementors§