Enum scriptful::op_systems::simple_math::MathOperator
source · [−]pub enum MathOperator {
Add,
Equal,
Mul,
Not,
Sub,
}
Expand description
Frequently used mathematical operators.
Variants
Add
Addition of two numbers (a + b
).
Equal
Equivalence of two numbers (a == b
).
Mul
Multiplication of two numbers (a * b
)
Not
Negation of one number (-a
).
Sub
Subtraction of two numbers (a - b
).
Trait Implementations
sourceimpl Debug for MathOperator
impl Debug for MathOperator
sourceimpl PartialEq<MathOperator> for MathOperator
impl PartialEq<MathOperator> for MathOperator
impl Eq for MathOperator
impl StructuralEq 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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