Methods
impl tuple_2 { ... }
-
-
fn compare<T1, T2>(lhs: &(T1, T2), rhs: &(T1, T2)) -> Ordering
T1: Comparable<T1>T2: Comparable<T2> -
Mixins
impl tuple_2 { ... }
-
-
Returns
false
if arguments are equal,true
otherwise -
mixin<T1, T2> Comparable<(T1, T2)>
T1: Comparable<T1>T2: Comparable<T2> -
Returns
true
iflhs
is strictly less thanrhs
,false
otherwise -
Returns
true
iflhs
is less or equal torhs
,false
otherwise -
Returns
true
iflhs
strictly greater thanrhs
,false
otherwise -
Returns
true
iflhs
greater than or equalrhs
,false
otherwise