Skip to main content

NonZeroBoxedUint

Type Alias NonZeroBoxedUint 

Source
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

Source

pub fn as_uint_ref(&self) -> &NonZeroUintRef

Borrow this NonZeroBoxedUint as a &NonZeroUintRef.

Trait Implementations§

Source§

impl AsRef<NonZero<UintRef>> for NonZeroBoxedUint

Source§

fn as_ref(&self) -> &NonZeroUintRef

Converts this type into a shared reference of the (usually inferred) input type.