ArrayInstanceCompare

Trait ArrayInstanceCompare 

Source
pub trait ArrayInstanceCompare<U> {
    // Required methods
    fn eq(&self, other: &U) -> ArrayExt<bool>;
    fn gt(&self, other: &U) -> ArrayExt<bool>;
    fn gte(&self, other: &U) -> ArrayExt<bool>;
    fn lt(&self, other: &U) -> ArrayExt<bool>;
    fn lte(&self, other: &U) -> ArrayExt<bool>;
    fn ne(&self, other: &U) -> ArrayExt<bool>;
}
Expand description

Defines element-wise comparison operations.

Required Methods§

Source

fn eq(&self, other: &U) -> ArrayExt<bool>

Element-wise equality.

Source

fn gt(&self, other: &U) -> ArrayExt<bool>

Element-wise greater-than comparison.

Source

fn gte(&self, other: &U) -> ArrayExt<bool>

Element-wise greater-or-equal comparison

Source

fn lt(&self, other: &U) -> ArrayExt<bool>

Element-wise less-than comparison.

Source

fn lte(&self, other: &U) -> ArrayExt<bool>

Element-wise less-or-equal comparison.

Source

fn ne(&self, other: &U) -> ArrayExt<bool>

Element-wise inequality.

Implementors§

Source§

impl<T, U> ArrayInstanceCompare<U> for ArrayExt<T>
where T: Clone + HasAfEnum + Convertable<OutType = T>, U: Convertable<OutType = T>, <T as Convertable>::OutType: ImplicitPromote<<U as Convertable>::OutType>, <U as Convertable>::OutType: ImplicitPromote<<T as Convertable>::OutType>,