pub enum ArithmeticOp {
Add,
Sub,
Mul,
Div,
Mod,
Pow,
FloorDiv,
}Variants§
Trait Implementations§
Source§impl Clone for ArithmeticOp
impl Clone for ArithmeticOp
Source§fn clone(&self) -> ArithmeticOp
fn clone(&self) -> ArithmeticOp
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 ArithmeticOp
Source§impl Debug for ArithmeticOp
impl Debug for ArithmeticOp
Source§impl<'de> Deserialize<'de> for ArithmeticOp
impl<'de> Deserialize<'de> for ArithmeticOp
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
impl Eq for ArithmeticOp
Source§impl PartialEq for ArithmeticOp
impl PartialEq for ArithmeticOp
Source§fn eq(&self, other: &ArithmeticOp) -> bool
fn eq(&self, other: &ArithmeticOp) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ArithmeticOp
impl Serialize for ArithmeticOp
impl StructuralPartialEq for ArithmeticOp
Auto Trait Implementations§
impl Freeze for ArithmeticOp
impl RefUnwindSafe for ArithmeticOp
impl Send for ArithmeticOp
impl Sync for ArithmeticOp
impl Unpin for ArithmeticOp
impl UnsafeUnpin for ArithmeticOp
impl UnwindSafe for ArithmeticOp
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