Trait overflower_support::DivAssignWrap [] [src]

pub trait DivAssignWrap<RHS = Self> {
    fn div_assign_wrap(&mut self, rhs: RHS);
}

Divide a value by a given value in-place, wrapping on overflow

This trait does the same as the std::ops::DivAssign trait for most values. it is specialized for integer types to wrap on over- or underflow.

Required Methods

divide a value by a given value in-place, wrapping on overflow

Implementors