konst::nonzero::cmp

Function cmp_option_nonzeroi128

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

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