pub enum ArithmeticOp {
Add,
Subtract,
Multiply,
Divide,
}Expand description
Arithmetic operations for custom functions
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 · 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 ArithmeticOp
impl Debug for ArithmeticOp
impl Copy 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 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