konst::nonzero::cmp

Function cmp_option_nonzeroi32

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

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