konst::nonzero::cmp

Function cmp_option_nonzerousize

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

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