konst::primitive::cmp

Function cmp_option_usize

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

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