[][src]Trait geng_core::prelude::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> ApproxEq for Color<T> where
    T: ApproxEq + ColorComponent
[src]

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

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

Loading content...