Function konst::string::cmp_option_str
source · pub const fn cmp_option_str<'a>(
left: Option<&'a str>,
right: Option<&'a str>
) -> Ordering
Available on crate feature
cmp
only.Expand description
Compares two Option<&'a str>
, returning the ordering of left
relative to right
.