pub enum BinaryOp {
Show 20 variants
Eq,
Ne,
Lt,
Le,
Gt,
Ge,
And,
Or,
Add,
Sub,
Mul,
Div,
Mod,
BitAnd,
BitOr,
BitXor,
Concat,
ArrayContains,
ArrayContainedBy,
ArrayOverlap,
}Expand description
Binary operators.
Variants§
Eq
Equal (=)
Ne
Not equal (<>)
Lt
Less than (<)
Le
Less than or equal (<=)
Gt
Greater than (>)
Ge
Greater than or equal (>=)
And
Logical AND
Or
Logical OR
Add
Addition (+)
Sub
Subtraction (-)
Mul
Multiplication (*)
Div
Division (/)
Mod
Modulo (%)
BitAnd
Bitwise AND (&)
BitOr
Bitwise OR (|)
BitXor
Bitwise XOR (^)
Concat
String concatenation (||)
ArrayContains
Array contains (@>)
ArrayContainedBy
Array is contained by (<@)
ArrayOverlap
Array overlap (&&)
Implementations§
Trait Implementations§
impl Copy for BinaryOp
impl Eq for BinaryOp
impl StructuralPartialEq for BinaryOp
Auto Trait Implementations§
impl Freeze for BinaryOp
impl RefUnwindSafe for BinaryOp
impl Send for BinaryOp
impl Sync for BinaryOp
impl Unpin for BinaryOp
impl UnwindSafe for BinaryOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).