konst::nonzero::cmp

Function cmp_option_nonzeroi16

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

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