pub enum NoDivIntegerOp {
Add,
Mul,
}Expand description
Integer operator that only allows for addition and multiplication
Variants§
Trait Implementations§
Source§impl Clone for NoDivIntegerOp
impl Clone for NoDivIntegerOp
Source§fn clone(&self) -> NoDivIntegerOp
fn clone(&self) -> NoDivIntegerOp
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 NoDivIntegerOp
impl Debug for NoDivIntegerOp
Source§impl Display for NoDivIntegerOp
impl Display for NoDivIntegerOp
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 NoDivIntegerOp
impl PartialEq for NoDivIntegerOp
impl Copy for NoDivIntegerOp
impl StructuralPartialEq for NoDivIntegerOp
Auto Trait Implementations§
impl Freeze for NoDivIntegerOp
impl RefUnwindSafe for NoDivIntegerOp
impl Send for NoDivIntegerOp
impl Sync for NoDivIntegerOp
impl Unpin for NoDivIntegerOp
impl UnwindSafe for NoDivIntegerOp
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