Enum cl_ast::ast::BinaryKind
source · pub enum BinaryKind {
Show 22 variants
Lt,
LtEq,
Equal,
NotEq,
GtEq,
Gt,
RangeExc,
RangeInc,
LogAnd,
LogOr,
LogXor,
BitAnd,
BitOr,
BitXor,
Shl,
Shr,
Add,
Sub,
Mul,
Div,
Rem,
Call,
}
Expand description
A Binary operator
Variants§
Lt
LtEq
Equal
NotEq
GtEq
Gt
RangeExc
RangeInc
LogAnd
LogOr
LogXor
BitAnd
BitOr
BitXor
Shl
Shr
Add
Sub
Mul
Div
Rem
Call
Trait Implementations§
source§impl Clone for BinaryKind
impl Clone for BinaryKind
source§fn clone(&self) -> BinaryKind
fn clone(&self) -> BinaryKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BinaryKind
impl Debug for BinaryKind
source§impl Display for BinaryKind
impl Display for BinaryKind
source§impl Hash for BinaryKind
impl Hash for BinaryKind
source§impl PartialEq for BinaryKind
impl PartialEq for BinaryKind
source§fn eq(&self, other: &BinaryKind) -> bool
fn eq(&self, other: &BinaryKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BinaryKind
impl Eq for BinaryKind
impl StructuralPartialEq for BinaryKind
Auto Trait Implementations§
impl Freeze for BinaryKind
impl RefUnwindSafe for BinaryKind
impl Send for BinaryKind
impl Sync for BinaryKind
impl Unpin for BinaryKind
impl UnwindSafe for BinaryKind
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