Enum ressa::node::BinaryOperator
source · pub enum BinaryOperator {
Show 22 variants
Equal,
NotEqual,
StrictEqual,
StrictNotEqual,
LessThan,
GreaterThan,
LessThanEqual,
GreaterThanEqual,
LeftShift,
RightShift,
UnsignedRightShift,
Plus,
Minus,
Times,
Over,
Mod,
Or,
XOr,
And,
In,
InstanceOf,
PowerOf,
}
Expand description
The available operations for Binary
expressions
Variants
Equal
NotEqual
StrictEqual
StrictNotEqual
LessThan
GreaterThan
LessThanEqual
GreaterThanEqual
LeftShift
RightShift
UnsignedRightShift
Plus
Minus
Times
Over
Mod
Or
XOr
And
In
InstanceOf
PowerOf
Implementations
sourceimpl BinaryOperator
impl BinaryOperator
pub fn from_token(token: &Token) -> Option<Self>
Trait Implementations
sourceimpl Clone for BinaryOperator
impl Clone for BinaryOperator
sourcefn clone(&self) -> BinaryOperator
fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BinaryOperator
impl Debug for BinaryOperator
sourceimpl PartialEq<BinaryOperator> for BinaryOperator
impl PartialEq<BinaryOperator> for BinaryOperator
sourcefn eq(&self, other: &BinaryOperator) -> bool
fn eq(&self, other: &BinaryOperator) -> bool
impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations
impl RefUnwindSafe for BinaryOperator
impl Send for BinaryOperator
impl Sync for BinaryOperator
impl Unpin for BinaryOperator
impl UnwindSafe for BinaryOperator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more