konst::nonzero::cmp

Function cmp_option_nonzerou64

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

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