pub enum NonMinusIntegerOp {
Add,
Mul,
Div,
}Expand description
Arithmetic operators without -
Variants§
Trait Implementations§
Source§impl Clone for NonMinusIntegerOp
impl Clone for NonMinusIntegerOp
Source§fn clone(&self) -> NonMinusIntegerOp
fn clone(&self) -> NonMinusIntegerOp
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 NonMinusIntegerOp
impl Debug for NonMinusIntegerOp
Source§impl Display for NonMinusIntegerOp
impl Display for NonMinusIntegerOp
Source§impl From<IntegerOp> for NonMinusIntegerOp
impl From<IntegerOp> for NonMinusIntegerOp
Source§impl From<NonMinusIntegerOp> for IntegerOp
impl From<NonMinusIntegerOp> for IntegerOp
Source§fn from(op: NonMinusIntegerOp) -> Self
fn from(op: NonMinusIntegerOp) -> Self
Converts to this type from the input type.
Source§impl From<NonMinusIntegerOp> for NoDivIntegerOp
impl From<NonMinusIntegerOp> for NoDivIntegerOp
Source§fn from(op: NonMinusIntegerOp) -> Self
fn from(op: NonMinusIntegerOp) -> Self
Convert a NonMinusIntegerOp to a NoDivIntegerOp
Panics if the NonMinusIntegerOp is a NonMinusIntegerOp::Div
Source§impl PartialEq for NonMinusIntegerOp
impl PartialEq for NonMinusIntegerOp
impl Copy for NonMinusIntegerOp
impl StructuralPartialEq for NonMinusIntegerOp
Auto Trait Implementations§
impl Freeze for NonMinusIntegerOp
impl RefUnwindSafe for NonMinusIntegerOp
impl Send for NonMinusIntegerOp
impl Sync for NonMinusIntegerOp
impl Unpin for NonMinusIntegerOp
impl UnwindSafe for NonMinusIntegerOp
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