Trait grafix_toolbox::math::TupleComparison

source ·
pub trait TupleComparison<B, RA, A: EpsEq>: TupleApply<RA, A, R<bool> = B> {
    // Provided methods
    fn ls(self, r: RA) -> B { ... }
    fn gt(self, r: RA) -> B { ... }
    fn le(self, r: RA) -> B { ... }
    fn ge(self, r: RA) -> B { ... }
    fn eps_eq(self, r: RA) -> B { ... }
    fn trsh_eq(self, r: RA, e: A) -> B { ... }
}

Provided Methods§

source

fn ls(self, r: RA) -> B

source

fn gt(self, r: RA) -> B

source

fn le(self, r: RA) -> B

source

fn ge(self, r: RA) -> B

source

fn eps_eq(self, r: RA) -> B

source

fn trsh_eq(self, r: RA, e: A) -> B

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<S: TupleApply<RA, A, R<bool> = (bool, bool)>, RA, A: EpsEq> TupleComparison<(bool, bool), RA, A> for S

source§

impl<S: TupleApply<RA, A, R<bool> = (bool, bool, bool)>, RA, A: EpsEq> TupleComparison<(bool, bool, bool), RA, A> for S

source§

impl<S: TupleApply<RA, A, R<bool> = (bool, bool, bool, bool)>, RA, A: EpsEq> TupleComparison<(bool, bool, bool, bool), RA, A> for S

source§

impl<const N: usize, S: TupleApply<RA, A, R<bool> = [bool; N]>, RA, A: EpsEq> TupleComparison<[bool; N], RA, A> for S