[][src]Trait batbox::ApproxEq

pub trait ApproxEq {
    fn approx_distance_to(&self, other: &Self) -> f32;

    fn approx_eq(&self, other: &Self) -> bool { ... }
fn approx_eq_eps(&self, other: &Self, eps: f32) -> bool { ... } }

Required methods

fn approx_distance_to(&self, other: &Self) -> f32

Loading content...

Provided methods

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

fn approx_eq_eps(&self, other: &Self, eps: f32) -> bool

Loading content...

Implementors

impl<T: ColorComponent + ApproxEq> ApproxEq for Color<T>[src]

impl<T: Float> ApproxEq for Mat4<T>[src]

impl<T: Float> ApproxEq for T[src]

Loading content...