konst::nonzero::cmp

Function cmp_option_nonzerou8

Source
pub const fn cmp_option_nonzerou8(
    left: Option<NonZeroU8>,
    right: Option<NonZeroU8>,
) -> Ordering
Expand description

Compares two Option<NonZeroU8>, returning the ordering of left relative to right.