konst::nonzero::cmp

Function cmp_option_nonzeroi64

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

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