konst::nonzero::cmp

Function cmp_option_nonzeroisize

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

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