Trait usvg_tree::FuzzyZero

source ·
pub trait FuzzyZero: FuzzyEq {
    // Required method
    fn is_fuzzy_zero(&self) -> bool;
}
Expand description

A trait for fuzzy/approximate comparisons of float numbers.

Required Methods§

source

fn is_fuzzy_zero(&self) -> bool

Returns true if the number is approximately zero.

Implementations on Foreign Types§

source§

impl FuzzyZero for f32

source§

impl FuzzyZero for f64

Implementors§