pub enum OperatorType {
Show 49 variants
FatArrow,
Accessor,
New,
Increment,
Decrement,
LogicalNot,
BitwiseNot,
Typeof,
Void,
Delete,
Multiplication,
Division,
Remainder,
Exponent,
Addition,
Substraction,
BitShiftLeft,
BitShiftRight,
UBitShiftRight,
Lesser,
LesserEquals,
Greater,
GreaterEquals,
Instanceof,
In,
StrictEquality,
StrictInequality,
Equality,
Inequality,
BitwiseAnd,
BitwiseXor,
BitwiseOr,
LogicalAnd,
LogicalOr,
Conditional,
Assign,
AddAssign,
SubstractAssign,
ExponentAssign,
MultiplyAssign,
DivideAssign,
RemainderAssign,
BSLAssign,
BSRAssign,
UBSRAssign,
BitAndAssign,
BitXorAssign,
BitOrAssign,
Spread,
}Variants§
FatArrow
Accessor
New
Increment
Decrement
LogicalNot
BitwiseNot
Typeof
Void
Delete
Multiplication
Division
Remainder
Exponent
Addition
Substraction
BitShiftLeft
BitShiftRight
UBitShiftRight
Lesser
LesserEquals
Greater
GreaterEquals
Instanceof
In
StrictEquality
StrictInequality
Equality
Inequality
BitwiseAnd
BitwiseXor
BitwiseOr
LogicalAnd
LogicalOr
Conditional
Assign
AddAssign
SubstractAssign
ExponentAssign
MultiplyAssign
DivideAssign
RemainderAssign
BSLAssign
BSRAssign
UBSRAssign
BitAndAssign
BitXorAssign
BitOrAssign
Spread
Implementations§
Source§impl OperatorType
impl OperatorType
Trait Implementations§
Source§impl Clone for OperatorType
impl Clone for OperatorType
Source§fn clone(&self) -> OperatorType
fn clone(&self) -> OperatorType
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 OperatorType
Source§impl Debug for OperatorType
impl Debug for OperatorType
Source§impl PartialEq for OperatorType
impl PartialEq for OperatorType
Source§fn eq(&self, other: &OperatorType) -> bool
fn eq(&self, other: &OperatorType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperatorType
Auto Trait Implementations§
impl Freeze for OperatorType
impl RefUnwindSafe for OperatorType
impl Send for OperatorType
impl Sync for OperatorType
impl Unpin for OperatorType
impl UnsafeUnpin for OperatorType
impl UnwindSafe for OperatorType
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