pub enum DivOp {
DivU,
DivS,
RemU,
RemS,
}Expand description
Which division/remainder op, for trap_div.
Variants§
DivU
i32.div_u / i64.div_u.
DivS
i32.div_s / i64.div_s.
RemU
i32.rem_u / i64.rem_u.
RemS
i32.rem_s / i64.rem_s.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DivOp
impl RefUnwindSafe for DivOp
impl Send for DivOp
impl Sync for DivOp
impl Unpin for DivOp
impl UnsafeUnpin for DivOp
impl UnwindSafe for DivOp
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