konst::nonzero::cmp

Function cmp_nonzerousize

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

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