2012-07-04 22:53:12 +01:00
|
|
|
/// Interfaces used for comparison.
|
2012-06-06 14:19:52 -07:00
|
|
|
|
2012-07-26 14:42:44 -07:00
|
|
|
trait ord {
|
|
|
|
|
pure fn lt(&&other: self) -> bool;
|
2012-06-06 14:19:52 -07:00
|
|
|
}
|
|
|
|
|
|
2012-07-26 14:42:44 -07:00
|
|
|
trait eq {
|
|
|
|
|
pure fn eq(&&other: self) -> bool;
|
2012-06-06 14:19:52 -07:00
|
|
|
}
|
|
|
|
|
|