pub trait PowWrapped<Rhs = Self>where
Rhs: ?Sized,{
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.
Required Associated Types§
Required Methods§
fn pow_wrapped(&self, rhs: &Rhs) -> Self::Output
Trait Implementations§
Source§impl<E, I, M> Metrics<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>>> for Integer<E, I>
impl<E, I, M> Metrics<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>>> for Integer<E, I>
Source§impl<E, I, M> OutputMode<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>>> for Integer<E, I>
impl<E, I, M> OutputMode<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>>> for Integer<E, I>
type Case = (Mode, CircuitType<Integer<E, M>>)
Source§fn output_mode(
case: &<Integer<E, I> as OutputMode<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>>>>::Case,
) -> Mode
fn output_mode( case: &<Integer<E, I> as OutputMode<dyn PowWrapped<Integer<E, M>, Output = Integer<E, I>>>>::Case, ) -> Mode
Returns the mode of the output.