Trait snarkvm_console_network::prelude::traits::RemSaturating
source · pub trait RemSaturating<Rhs = Self>where
Rhs: ?Sized,{
type Output;
// Required method
fn rem_saturating(&self, rhs: &Rhs) -> Self::Output;
}
Expand description
Binary operator for dividing two values, bounding the remainder to MAX
or MIN
if an overflow occurs.