konst::nonzero::cmp

Function cmp_option_nonzerou16

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

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