pub type NonZeroBoxedUint = NonZero<BoxedUint>;Available on crate feature
alloc only.Expand description
Non-zero boxed unsigned integer.
Aliased Type§
pub struct NonZeroBoxedUint(/* private fields */);Implementations§
Source§impl NonZeroBoxedUint
impl NonZeroBoxedUint
Sourcepub fn as_uint_ref(&self) -> &NonZeroUintRef
pub fn as_uint_ref(&self) -> &NonZeroUintRef
Borrow this NonZeroBoxedUint as a &NonZeroUintRef.
Trait Implementations§
Source§impl AsRef<NonZero<UintRef>> for NonZeroBoxedUint
impl AsRef<NonZero<UintRef>> for NonZeroBoxedUint
Source§fn as_ref(&self) -> &NonZeroUintRef
fn as_ref(&self) -> &NonZeroUintRef
Converts this type into a shared reference of the (usually inferred) input type.