pub trait WideningMul<Rhs = Self>: Sized {
type Output: Integer;
// Required method
fn widening_mul(&self, rhs: Rhs) -> Self::Output;
}
Expand description
Widening multiply: returns a value with a number of limbs equal to the sum of the inputs.
Required Associated Types§
Required Methods§
Sourcefn widening_mul(&self, rhs: Rhs) -> Self::Output
fn widening_mul(&self, rhs: Rhs) -> Self::Output
Perform widening multiplication.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
Source§impl WideningMul for BoxedUint
Available on crate feature alloc
only.
impl WideningMul for BoxedUint
Available on crate feature
alloc
only.Source§impl WideningMul<&BoxedUint> for BoxedUint
Available on crate feature alloc
only.
impl WideningMul<&BoxedUint> for BoxedUint
Available on crate feature
alloc
only.