Function awint_internals::bw [−][src]
pub const fn bw(bw: usize) -> NonZeroUsize
Expand description
Utility free function for converting a usize
to a NonZeroUsize
. This is
mainly intended for usage with literals, and shouldn’t be used for fallible
conversions.
Panics
If bw == 0
, this function will panic.