pub enum BinaryOpKind {
Show 26 variants
Or,
And,
GeneralEq,
GeneralNe,
GeneralLt,
GeneralLe,
GeneralGt,
GeneralGe,
ValueEq,
ValueNe,
ValueLt,
ValueLe,
ValueGt,
ValueGe,
Is,
Before,
After,
Add,
Sub,
Mul,
Div,
IDiv,
Mod,
Union,
Intersect,
Except,
}Expand description
Binary operator kind.
Variants§
Or
or
And
and
GeneralEq
=
GeneralNe
!=
GeneralLt
<
GeneralLe
<=
GeneralGt
>
GeneralGe
>=
ValueEq
eq
ValueNe
ne
ValueLt
lt
ValueLe
le
ValueGt
gt
ValueGe
ge
Is
is
Before
<<
After
>>
Add
+
Sub
-
Mul
*
Div
div
IDiv
idiv
Mod
mod
Union
union or |
Intersect
intersect
Except
except
Trait Implementations§
Source§impl Clone for BinaryOpKind
impl Clone for BinaryOpKind
Source§fn clone(&self) -> BinaryOpKind
fn clone(&self) -> BinaryOpKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BinaryOpKind
Source§impl Debug for BinaryOpKind
impl Debug for BinaryOpKind
impl Eq for BinaryOpKind
Source§impl PartialEq for BinaryOpKind
impl PartialEq for BinaryOpKind
Source§fn eq(&self, other: &BinaryOpKind) -> bool
fn eq(&self, other: &BinaryOpKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BinaryOpKind
Auto Trait Implementations§
impl Freeze for BinaryOpKind
impl RefUnwindSafe for BinaryOpKind
impl Send for BinaryOpKind
impl Sync for BinaryOpKind
impl Unpin for BinaryOpKind
impl UnsafeUnpin for BinaryOpKind
impl UnwindSafe for BinaryOpKind
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