Compares two objects.
fn cmp(&self, other: &Rhs) -> Ordering
| Name | Description |
|---|---|
| other | The object to be compared to |
Returns the ordering between self and other.
The returned ordering is in the form self Ordering other, e.g., self Ordering::Less other.