pub trait PartialCmp: HasBoolMask {
    // Required methods
    fn lt(&self, other: &Self) -> Self::Mask;
    fn lt_eq(&self, other: &Self) -> Self::Mask;
    fn eq(&self, other: &Self) -> Self::Mask;
    fn neq(&self, other: &Self) -> Self::Mask;
    fn gt_eq(&self, other: &Self) -> Self::Mask;
    fn gt(&self, other: &Self) -> Self::Mask;
}Expand description
Trait for lanewise comparison of two values.
This is similar to PartialEq and PartialOrd, except that it returns a
Boolean mask instead of bool or Ordering.
Required Methods§
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.