Function ::std::ops::cmp
Perform a total comparison over two values.
For non-builtin types this leans on the behavior of the [CMP
] protocol.
Panics
Panics if we're trying to compare two values which are not comparable.
use cmp;
let _ = cmp;
Examples
use cmp;
use Ordering;
assert_eq!;
assert_eq!;