Function ::std::ops::partial_cmp
Perform a partial comparison over two values.
This produces the same behavior as when comparison operators like less than (<) is used.
For non-builtin types this leans on the behavior of the [PARTIAL_CMP] protocol.
Panics
Panics if we're trying to compare two values which are not comparable.
Examples
use partial_cmp;
use Ordering;
assert_eq!;
assert_eq!;
assert_eq!;