pub enum Op {
Add,
Sub,
Mul,
Div,
ExactDiv,
FloorDiv,
Mod,
Pow,
}Expand description
The arithmetic operators the exact types take.
Variants§
Add
Sub
Mul
Div
The polymorphic /: field division for the exact types, floor division of two integers.
ExactDiv
/ in an exact context (ExactDivide): field division on every branch, integers included.
FloorDiv
Mod
Pow
Trait Implementations§
impl Copy for Op
impl Eq for Op
impl StructuralPartialEq for Op
Auto Trait Implementations§
impl Freeze for Op
impl RefUnwindSafe for Op
impl Send for Op
impl Sync for Op
impl Unpin for Op
impl UnsafeUnpin for Op
impl UnwindSafe for Op
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