pub trait PowWrapped<Rhs: ?Sized = Self> {
type Output;
// Required method
fn pow_wrapped(&self, rhs: &Rhs) -> Self::Output;
}
Expand description
Binary operator for exponentiating two values, wrapping the result if an overflow occurs.
pub trait PowWrapped<Rhs: ?Sized = Self> {
type Output;
// Required method
fn pow_wrapped(&self, rhs: &Rhs) -> Self::Output;
}
Binary operator for exponentiating two values, wrapping the result if an overflow occurs.