pub enum Math {
Add,
Sub,
Mul,
Div,
Rem,
}
Expand description
Arithmetic operation, such as +
, -
, *
, /
, %
.
Variants§
Implementations§
Trait Implementations§
impl Copy for Math
impl Eq for Math
impl StructuralPartialEq for Math
Auto Trait Implementations§
impl Freeze for Math
impl RefUnwindSafe for Math
impl Send for Math
impl Sync for Math
impl Unpin for Math
impl UnwindSafe for Math
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