Enum balena_temen::ast::MathOperator
source · pub enum MathOperator {
Addition,
Subtraction,
Multiplication,
Division,
Modulo,
}
Expand description
Math operator
Variants
Addition
+
Subtraction
-
Multiplication
*
Division
/
Modulo
%
Trait Implementations
sourceimpl Clone for MathOperator
impl Clone for MathOperator
sourcefn clone(&self) -> MathOperator
fn clone(&self) -> MathOperator
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 MathOperator
impl Debug for MathOperator
sourceimpl PartialEq<MathOperator> for MathOperator
impl PartialEq<MathOperator> for MathOperator
sourcefn eq(&self, other: &MathOperator) -> bool
fn eq(&self, other: &MathOperator) -> bool
impl Copy for MathOperator
impl StructuralPartialEq for MathOperator
Auto Trait Implementations
impl RefUnwindSafe for MathOperator
impl Send for MathOperator
impl Sync for MathOperator
impl Unpin for MathOperator
impl UnwindSafe for MathOperator
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