Mojo module
comparable
Aliases
Comparable
alias Comparable = EqualityComparable & LessThanComparable & GreaterThanComparable & LessThanOrEqualComparable & GreaterThanOrEqualComparable
A type which can be compared with other instances of itself.
Traits
-
GreaterThanComparable
: A type which can be greater than compared with other instances of itself. -
GreaterThanOrEqualComparable
: A type which can be greater than or equal to compared with other instances of itself. -
LessThanComparable
: A type which can be less than compared with other instances of itself. -
LessThanOrEqualComparable
: A type which can be less than or equal to compared with other instances of itself.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!