Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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