Trait i_slint_core::graphics::border_radius::ApproxEq

source ·
pub trait ApproxEq<Eps> {
    // Required method
    fn approx_eq(&self, other: &Self) -> bool;
}
Expand description

Trait for testing approximate equality

Required Methods§

source

fn approx_eq(&self, other: &Self) -> bool

Returns true is this object is approximately equal to the other one.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ApproxEq<f32> for f32

source§

fn approx_eq(&self, other: &f32) -> bool

source§

impl ApproxEq<i16> for i16

source§

fn approx_eq(&self, other: &i16) -> bool

source§

impl ApproxEq<i32> for i32

source§

fn approx_eq(&self, other: &i32) -> bool

Implementors§