Trait octoon_math::vec::Cmp
source · pub trait Cmp {
type Bool: Copy + Not<Output = Self::Bool> + BitAnd<Self::Bool, Output = Self::Bool> + BitOr<Self::Bool, Output = Self::Bool> + BitXor<Self::Bool, Output = Self::Bool>;
fn eq(self, rhs: Self) -> bool;
fn ne(self, rhs: Self) -> bool;
fn gt(self, rhs: Self) -> bool;
fn lt(self, rhs: Self) -> bool;
fn ge(self, rhs: Self) -> bool;
fn le(self, rhs: Self) -> bool;
}