Enum kodept_parse::lexer::enums::MathOperator
source · pub enum MathOperator {
Plus,
Sub,
Div,
Mod,
Pow,
Times,
}Variants§
Trait Implementations§
source§impl Clone for MathOperator
impl Clone for MathOperator
source§fn clone(&self) -> MathOperator
fn clone(&self) -> MathOperator
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 MathOperator
impl Debug for MathOperator
source§impl From<MathOperator> for Operator
impl From<MathOperator> for Operator
source§fn from(original: MathOperator) -> Operator
fn from(original: MathOperator) -> Operator
Converts to this type from the input type.
source§impl PartialEq for MathOperator
impl PartialEq for MathOperator
source§fn eq(&self, other: &MathOperator) -> bool
fn eq(&self, other: &MathOperator) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MathOperator
impl StructuralPartialEq for MathOperator
Auto Trait Implementations§
impl Freeze for MathOperator
impl RefUnwindSafe for MathOperator
impl Send for MathOperator
impl Sync for MathOperator
impl Unpin for MathOperator
impl UnwindSafe for MathOperator
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)