pub enum OperatorClass {
Arithmetic,
Assignment,
Bitwise,
Comparison,
Logical,
Other,
}Expand description
The family an operator belongs to.
Variants§
Arithmetic
Numeric arithmetic.
Assignment
Assignment, including the compound forms.
Bitwise
Bit manipulation.
Comparison
Value comparison, yielding a boolean.
Logical
Boolean logic.
Other
Structure: grouping, indexing, separators, comments.
Trait Implementations§
Source§impl Clone for OperatorClass
impl Clone for OperatorClass
Source§fn clone(&self) -> OperatorClass
fn clone(&self) -> OperatorClass
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 OperatorClass
Source§impl Debug for OperatorClass
impl Debug for OperatorClass
impl Eq for OperatorClass
Source§impl Hash for OperatorClass
impl Hash for OperatorClass
Source§impl PartialEq for OperatorClass
impl PartialEq for OperatorClass
impl StructuralPartialEq for OperatorClass
Auto Trait Implementations§
impl Freeze for OperatorClass
impl RefUnwindSafe for OperatorClass
impl Send for OperatorClass
impl Sync for OperatorClass
impl Unpin for OperatorClass
impl UnsafeUnpin for OperatorClass
impl UnwindSafe for OperatorClass
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