Re-exported from core::cmp::Order.
exposed enum Order {
Less,
Equal,
Greater,
}
The result of a comparison: less, equal or greater.
Methods
method is_ltsource
fn is_lt(self) -> bool { ... }
Whether the order is Less.
method is_eqsource
fn is_eq(self) -> bool { ... }
Whether the order is Equal.
method is_gtsource
fn is_gt(self) -> bool { ... }
Whether the order is Greater.
method reversesource
fn reverse(self) -> Order { ... }
The opposite order: a.cmp(b).reverse() is b.cmp(a).