Compare

Trait Compare 

Source
pub trait Compare<Op, Rhs = Self> {
    type Output;

    // Required method
    fn compare(self, rhs: Rhs) -> Self::Output;
}
Expand description

Trait for comparison operations.

Required Associated Types§

Source

type Output

The result type after performing the operation.

Required Methods§

Source

fn compare(self, rhs: Rhs) -> Self::Output

Perform the comparison operation.

Implementations on Foreign Types§

Source§

impl Compare<Equal> for BoolScalar

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl Compare<GreaterThan> for BoolScalar

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl Compare<GreaterThanOrEqual> for BoolScalar

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl Compare<LessThan> for BoolScalar

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl Compare<LessThanOrEqual> for BoolScalar

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl Compare<NotEqual> for BoolScalar

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op> Compare<Op> for &DecimalVector
where for<'a> &'a DVector<i8>: Compare<Op, Output = BoolVector>, for<'a> &'a DVector<i16>: Compare<Op, Output = BoolVector>, for<'a> &'a DVector<i32>: Compare<Op, Output = BoolVector>, for<'a> &'a DVector<i64>: Compare<Op, Output = BoolVector>, for<'a> &'a DVector<i128>: Compare<Op, Output = BoolVector>, for<'a> &'a DVector<i256>: Compare<Op, Output = BoolVector>,

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op> Compare<Op> for &PrimitiveVector
where for<'a> &'a PVector<i8>: Compare<Op, Output = BoolVector>, for<'a> &'a PVector<i16>: Compare<Op, Output = BoolVector>, for<'a> &'a PVector<i32>: Compare<Op, Output = BoolVector>, for<'a> &'a PVector<i64>: Compare<Op, Output = BoolVector>, for<'a> &'a PVector<u8>: Compare<Op, Output = BoolVector>, for<'a> &'a PVector<u16>: Compare<Op, Output = BoolVector>, for<'a> &'a PVector<u32>: Compare<Op, Output = BoolVector>, for<'a> &'a PVector<u64>: Compare<Op, Output = BoolVector>, for<'a> &'a PVector<f16>: Compare<Op, Output = BoolVector>, for<'a> &'a PVector<f32>: Compare<Op, Output = BoolVector>, for<'a> &'a PVector<f64>: Compare<Op, Output = BoolVector>,

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op> Compare<Op> for BoolDatum
where BoolVector: Compare<Op, Output = BoolVector>, BoolScalar: Compare<Op, Output = BoolScalar>,

Source§

type Output = BoolDatum

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op> Compare<Op> for Datum

Source§

type Output = BoolDatum

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op> Compare<Op> for DecimalDatum
where DecimalScalar: Compare<Op, Output = BoolScalar>, DecimalVector: Compare<Op, Output = BoolVector>,

Source§

type Output = BoolDatum

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op> Compare<Op> for PrimitiveDatum
where PrimitiveScalar: Compare<Op, Output = BoolScalar>, PrimitiveVector: Compare<Op, Output = BoolVector>,

Source§

type Output = BoolDatum

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op> Compare<Op> for DecimalScalar
where DScalar<i8>: Compare<Op, Output = BoolScalar>, DScalar<i16>: Compare<Op, Output = BoolScalar>, DScalar<i32>: Compare<Op, Output = BoolScalar>, DScalar<i64>: Compare<Op, Output = BoolScalar>, DScalar<i128>: Compare<Op, Output = BoolScalar>, DScalar<i256>: Compare<Op, Output = BoolScalar>,

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op> Compare<Op> for DecimalVector
where for<'a> &'a DecimalVector: Compare<Op, Output = BoolVector>,

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op> Compare<Op> for PrimitiveScalar
where PScalar<i8>: Compare<Op, Output = BoolScalar>, PScalar<i16>: Compare<Op, Output = BoolScalar>, PScalar<i32>: Compare<Op, Output = BoolScalar>, PScalar<i64>: Compare<Op, Output = BoolScalar>, PScalar<u8>: Compare<Op, Output = BoolScalar>, PScalar<u16>: Compare<Op, Output = BoolScalar>, PScalar<u32>: Compare<Op, Output = BoolScalar>, PScalar<u64>: Compare<Op, Output = BoolScalar>, PScalar<f16>: Compare<Op, Output = BoolScalar>, PScalar<f32>: Compare<Op, Output = BoolScalar>, PScalar<f64>: Compare<Op, Output = BoolScalar>,

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op> Compare<Op> for PrimitiveVector
where for<'a> &'a PrimitiveVector: Compare<Op, Output = BoolVector>,

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op> Compare<Op> for BoolVector
where Op: BitComparisonOperator,

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op, D> Compare<Op> for &DVector<D>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: &DVector<D>) -> Self::Output

Source§

impl<Op, D> Compare<Op> for DScalar<D>

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op, T> Compare<Op> for &[T]
where T: Copy, Op: ComparisonOperator<T>,

Source§

type Output = BitBuffer

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op, T> Compare<Op> for &PVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: &PVector<T>) -> Self::Output

Source§

impl<Op, T> Compare<Op> for BinaryViewDatum<T>
where T: BinaryViewType, BinaryViewScalar<T>: Compare<Op, Output = BoolScalar>, BinaryViewVector<T>: Compare<Op, Output = BoolVector>,

Source§

type Output = BoolDatum

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<Op, T> Compare<Op> for PScalar<T>

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<Equal> for &BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<Equal> for BinaryViewScalar<T>

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<Equal> for BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<GreaterThan> for &BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<GreaterThan> for BinaryViewScalar<T>

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<GreaterThan> for BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<GreaterThanOrEqual> for &BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<GreaterThanOrEqual> for BinaryViewScalar<T>

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<GreaterThanOrEqual> for BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<LessThan> for &BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<LessThan> for BinaryViewScalar<T>

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<LessThan> for BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<LessThanOrEqual> for &BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<LessThanOrEqual> for BinaryViewScalar<T>

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<LessThanOrEqual> for BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<NotEqual> for &BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<NotEqual> for BinaryViewScalar<T>

Source§

type Output = BoolScalar

Source§

fn compare(self, rhs: Self) -> Self::Output

Source§

impl<T: BinaryViewType> Compare<NotEqual> for BinaryViewVector<T>

Source§

type Output = BoolVector

Source§

fn compare(self, rhs: Self) -> Self::Output

Implementors§