pub type OddBoxedUint = Odd<BoxedUint>;Expand description
Odd boxed unsigned integer.
Aliased Type§
#[repr(transparent)]pub struct OddBoxedUint(pub(crate) BoxedUint);Tuple Fields§
§0: BoxedUintImplementations§
Source§impl OddBoxedUint
impl OddBoxedUint
Sourcepub const fn as_uint_ref(&self) -> &OddUintRef
pub const fn as_uint_ref(&self) -> &OddUintRef
Borrow this OddBoxedUint as a &OddUintRef.
Trait Implementations§
Source§impl AsRef<Odd<UintRef>> for OddBoxedUint
Available on crate feature alloc only.
impl AsRef<Odd<UintRef>> for OddBoxedUint
Available on crate feature
alloc only.Source§fn as_ref(&self) -> &OddUintRef
fn as_ref(&self) -> &OddUintRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Resize for &OddBoxedUint
Available on crate feature alloc only.
impl Resize for &OddBoxedUint
Available on crate feature
alloc only.Source§fn resize_unchecked(self, at_least_bits_precision: u32) -> Self::Output
fn resize_unchecked(self, at_least_bits_precision: u32) -> Self::Output
Resizes to the minimum storage that fits
at_least_bits_precision
without checking if the bit size of self is larger than at_least_bits_precision. Read moreSource§impl Resize for OddBoxedUint
Available on crate feature alloc only.
impl Resize for OddBoxedUint
Available on crate feature
alloc only.Source§fn resize_unchecked(self, at_least_bits_precision: u32) -> Self::Output
fn resize_unchecked(self, at_least_bits_precision: u32) -> Self::Output
Resizes to the minimum storage that fits
at_least_bits_precision
without checking if the bit size of self is larger than at_least_bits_precision. Read more