pub enum MathOp {
Add,
Sub,
Mul,
Div,
Rem,
}Expand description
Arithmetic operation, such as +, -, *, /, %.
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for MathOp
impl<'de> Deserialize<'de> for MathOp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for MathOp
impl PartialEq for MathOp
impl Copy for MathOp
impl Eq for MathOp
impl StructuralEq for MathOp
impl StructuralPartialEq for MathOp
Auto Trait Implementations§
impl RefUnwindSafe for MathOp
impl Send for MathOp
impl Sync for MathOp
impl Unpin for MathOp
impl UnwindSafe for MathOp
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