pub trait IntegerResize: Sized {
type Output;
// Required methods
fn resize_unchecked(self, at_least_bits_precision: u32) -> Self::Output;
fn try_resize(self, at_least_bits_precision: u32) -> Option<Self::Output>;
}Required Associated Types§
Required Methods§
fn resize_unchecked(self, at_least_bits_precision: u32) -> Self::Output
fn try_resize(self, at_least_bits_precision: u32) -> Option<Self::Output>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl IntegerResize for BoxedUint
Available on crate feature alloc only.
impl IntegerResize for BoxedUint
Available on crate feature
alloc only.Source§impl<T> IntegerResize for ModMathValue<T>where
T: FixedWidthUnsignedInt + PartialOrd,
Available on crate features alloc and modmath only.
impl<T> IntegerResize for ModMathValue<T>where
T: FixedWidthUnsignedInt + PartialOrd,
Available on crate features
alloc and modmath only.