pub enum MathOperator {
Plus,
Sub,
Div,
Mod,
Pow,
Times,
}
Variants§
Trait Implementations§
Source§impl Clone for MathOperator
impl Clone for MathOperator
Source§fn clone(&self) -> MathOperator
fn clone(&self) -> MathOperator
Returns a copy 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 MathOperator
impl Debug for MathOperator
Source§impl From<MathOperator> for Operator
impl From<MathOperator> for Operator
Source§fn from(value: MathOperator) -> Self
fn from(value: MathOperator) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MathOperator
impl PartialEq for MathOperator
impl Copy for MathOperator
impl StructuralPartialEq for MathOperator
Auto Trait Implementations§
impl Freeze for MathOperator
impl RefUnwindSafe for MathOperator
impl Send for MathOperator
impl Sync for MathOperator
impl Unpin for MathOperator
impl UnwindSafe for MathOperator
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