Module core::iter::order
[−]
[src]
: needs review and revision
Functions for lexicographical ordering of sequences.
Lexicographical ordering through <
`<,
`, <=
`<=,
`, >=
`>=,
`, >
`>requires that the elements implement both
` requires
that the elements implement both PartialEq
`PartialEqand
` and PartialOrd
`PartialOrd`.
If two sequences are equal up until the point where one ends, the shorter sequence compares less.
Functions
cmp |
[Unstable] Order |
eq |
[Unstable] Compare |
equals |
[Unstable] Compare |
ge |
[Unstable] Returns |
gt |
[Unstable] Returns |
le |
[Unstable] Returns |
lt |
[Unstable] Returns |
ne |
[Unstable] Compares |
partial_cmp |
[Unstable] Order |