Primitive Type tuple1.0.0 [−]
A finite heterogeneous sequence, (T, U, ..)
.
Let's cover each of those in turn:
Tuples are finite. In other words, a tuple has a length. Here's a tuple
of length 3
:
("hello", 5, 'c');Run
'Length' is also sometimes called 'arity' here; each tuple of a different length is a different, distinct type.
Tuples are heterogeneous. This means that each element of the tuple can have a different type. In that tuple above, it has the type:
(&'static str, i32, char)Run
Tuples are a sequence. This means that they can be accessed by position; this is called 'tuple indexing', and it looks like this:
let tuple = ("hello", 5, 'c'); assert_eq!(tuple.0, "hello"); assert_eq!(tuple.1, 5); assert_eq!(tuple.2, 'c');Run
For more about tuples, see the book.
Trait implementations
If every type inside a tuple implements one of the following traits, then a tuple itself also implements it.
Due to a temporary restriction in Rust's type system, these traits are only implemented on tuples of arity 12 or less. In the future, this may change.
Examples
Basic usage:
let tuple = ("hello", 5, 'c'); assert_eq!(tuple.0, "hello");Run
Tuples are often used as a return type when you want to return more than one value:
fn calculate_point() -> (i32, i32) { // Don't do a calculation, that's not the point of the example (4, 5) } let point = calculate_point(); assert_eq!(point.0, 4); assert_eq!(point.1, 5); // Combining this with patterns can be nicer. let (x, y) = calculate_point(); assert_eq!(x, 4); assert_eq!(y, 5);Run
Trait Implementations
impl<T> RangeArgument<T> for (Bound<T>, Bound<T>)
[src]
fn start(&self) -> Bound<&T>
🔬 This is a nightly-only experimental API. (collections_range
#30877)
waiting for dust to settle on inclusive ranges
Start index bound Read more
fn end(&self) -> Bound<&T>
🔬 This is a nightly-only experimental API. (collections_range
#30877)
waiting for dust to settle on inclusive ranges
End index bound Read more
impl<'a, T> RangeArgument<T> for (Bound<&'a T>, Bound<&'a T>) where T: 'a + ?Sized
[src]
fn start(&self) -> Bound<&T>
🔬 This is a nightly-only experimental API. (collections_range
#30877)
waiting for dust to settle on inclusive ranges
Start index bound Read more
fn end(&self) -> Bound<&T>
🔬 This is a nightly-only experimental API. (collections_range
#30877)
waiting for dust to settle on inclusive ranges
End index bound Read more
impl Eq for ()
[src]
impl<A> Eq for (A,) where A: Eq
[src]
impl<A, B> Eq for (A, B) where A: Eq, B: Eq
[src]
impl<A, B, C> Eq for (A, B, C) where A: Eq, B: Eq, C: Eq
[src]
impl<A, B, C, D> Eq for (A, B, C, D) where A: Eq, B: Eq, C: Eq, D: Eq
[src]
impl<A, B, C, D, E> Eq for (A, B, C, D, E) where A: Eq,
B: Eq,
C: Eq,
D: Eq,
E: Eq
[src]
B: Eq,
C: Eq,
D: Eq,
E: Eq
impl<A, B, C, D, E, F> Eq for (A, B, C, D, E, F) where A: Eq,
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq
[src]
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq
impl<A, B, C, D, E, F, G> Eq for (A, B, C, D, E, F, G) where A: Eq,
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq
[src]
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq
impl<A, B, C, D, E, F, G, H> Eq for (A, B, C, D, E, F, G, H) where A: Eq,
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq,
H: Eq
[src]
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq,
H: Eq
impl<A, B, C, D, E, F, G, H, I> Eq for (A, B, C, D, E, F, G, H, I) where A: Eq,
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq,
H: Eq,
I: Eq
[src]
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq,
H: Eq,
I: Eq
impl<A, B, C, D, E, F, G, H, I, J> Eq for (A, B, C, D, E, F, G, H, I, J) where A: Eq,
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq,
H: Eq,
I: Eq,
J: Eq
[src]
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq,
H: Eq,
I: Eq,
J: Eq
impl<A, B, C, D, E, F, G, H, I, J, K> Eq for (A, B, C, D, E, F, G, H, I, J, K) where A: Eq,
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq,
H: Eq,
I: Eq,
J: Eq,
K: Eq
[src]
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq,
H: Eq,
I: Eq,
J: Eq,
K: Eq
impl<A, B, C, D, E, F, G, H, I, J, K, L> Eq for (A, B, C, D, E, F, G, H, I, J, K, L) where A: Eq,
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq,
H: Eq,
I: Eq,
J: Eq,
K: Eq,
L: Eq
[src]
B: Eq,
C: Eq,
D: Eq,
E: Eq,
F: Eq,
G: Eq,
H: Eq,
I: Eq,
J: Eq,
K: Eq,
L: Eq
impl Debug for ()
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Debug for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where T0: Debug,
T1: Debug,
T10: Debug,
T11: Debug,
T2: Debug,
T3: Debug,
T4: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
[src]
T1: Debug,
T10: Debug,
T11: Debug,
T2: Debug,
T3: Debug,
T4: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Debug for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where T1: Debug,
T10: Debug,
T11: Debug,
T2: Debug,
T3: Debug,
T4: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
[src]
T10: Debug,
T11: Debug,
T2: Debug,
T3: Debug,
T4: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
impl<T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Debug for (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where T10: Debug,
T11: Debug,
T2: Debug,
T3: Debug,
T4: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
[src]
T11: Debug,
T2: Debug,
T3: Debug,
T4: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
impl<T3, T4, T5, T6, T7, T8, T9, T10, T11> Debug for (T3, T4, T5, T6, T7, T8, T9, T10, T11) where T10: Debug,
T11: Debug,
T3: Debug,
T4: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
[src]
T11: Debug,
T3: Debug,
T4: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
impl<T4, T5, T6, T7, T8, T9, T10, T11> Debug for (T4, T5, T6, T7, T8, T9, T10, T11) where T10: Debug,
T11: Debug,
T4: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
[src]
T11: Debug,
T4: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
impl<T5, T6, T7, T8, T9, T10, T11> Debug for (T5, T6, T7, T8, T9, T10, T11) where T10: Debug,
T11: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
[src]
T11: Debug,
T5: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
impl<T6, T7, T8, T9, T10, T11> Debug for (T6, T7, T8, T9, T10, T11) where T10: Debug,
T11: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
[src]
T11: Debug,
T6: Debug,
T7: Debug,
T8: Debug,
T9: Debug
impl<T7, T8, T9, T10, T11> Debug for (T7, T8, T9, T10, T11) where T10: Debug,
T11: Debug,
T7: Debug,
T8: Debug,
T9: Debug
[src]
T11: Debug,
T7: Debug,
T8: Debug,
T9: Debug
impl<T8, T9, T10, T11> Debug for (T8, T9, T10, T11) where T10: Debug,
T11: Debug,
T8: Debug,
T9: Debug
[src]
T11: Debug,
T8: Debug,
T9: Debug
impl<T9, T10, T11> Debug for (T9, T10, T11) where T10: Debug,
T11: Debug,
T9: Debug
[src]
T11: Debug,
T9: Debug
impl<T10, T11> Debug for (T10, T11) where T10: Debug, T11: Debug
[src]
impl<T11> Debug for (T11,) where T11: Debug
[src]
impl Ord for ()
[src]
fn cmp(&self, _other: &()) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A> Ord for (A,) where A: Ord
[src]
fn cmp(&self, other: &(A,)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A, B> Ord for (A, B) where A: Ord, B: Ord
[src]
fn cmp(&self, other: &(A, B)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A, B, C> Ord for (A, B, C) where A: Ord, B: Ord, C: Ord
[src]
fn cmp(&self, other: &(A, B, C)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A, B, C, D> Ord for (A, B, C, D) where A: Ord, B: Ord, C: Ord, D: Ord
[src]
fn cmp(&self, other: &(A, B, C, D)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A, B, C, D, E> Ord for (A, B, C, D, E) where A: Ord,
B: Ord,
C: Ord,
D: Ord,
E: Ord
[src]
B: Ord,
C: Ord,
D: Ord,
E: Ord
fn cmp(&self, other: &(A, B, C, D, E)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A, B, C, D, E, F> Ord for (A, B, C, D, E, F) where A: Ord,
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord
[src]
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord
fn cmp(&self, other: &(A, B, C, D, E, F)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A, B, C, D, E, F, G> Ord for (A, B, C, D, E, F, G) where A: Ord,
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord
[src]
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord
fn cmp(&self, other: &(A, B, C, D, E, F, G)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A, B, C, D, E, F, G, H> Ord for (A, B, C, D, E, F, G, H) where A: Ord,
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord,
H: Ord
[src]
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord,
H: Ord
fn cmp(&self, other: &(A, B, C, D, E, F, G, H)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A, B, C, D, E, F, G, H, I> Ord for (A, B, C, D, E, F, G, H, I) where A: Ord,
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord,
H: Ord,
I: Ord
[src]
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord,
H: Ord,
I: Ord
fn cmp(&self, other: &(A, B, C, D, E, F, G, H, I)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A, B, C, D, E, F, G, H, I, J> Ord for (A, B, C, D, E, F, G, H, I, J) where A: Ord,
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord,
H: Ord,
I: Ord,
J: Ord
[src]
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord,
H: Ord,
I: Ord,
J: Ord
fn cmp(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A, B, C, D, E, F, G, H, I, J, K> Ord for (A, B, C, D, E, F, G, H, I, J, K) where A: Ord,
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord,
H: Ord,
I: Ord,
J: Ord,
K: Ord
[src]
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord,
H: Ord,
I: Ord,
J: Ord,
K: Ord
fn cmp(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<A, B, C, D, E, F, G, H, I, J, K, L> Ord for (A, B, C, D, E, F, G, H, I, J, K, L) where A: Ord,
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord,
H: Ord,
I: Ord,
J: Ord,
K: Ord,
L: Ord
[src]
B: Ord,
C: Ord,
D: Ord,
E: Ord,
F: Ord,
G: Ord,
H: Ord,
I: Ord,
J: Ord,
K: Ord,
L: Ord
fn cmp(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl Clone for ()
[src]
fn clone(&self)
Returns a deep copy of the value.
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A> Clone for (A,) where A: Clone
[src]
fn clone(&self) -> (A,)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A, B> Clone for (A, B) where A: Clone, B: Clone
[src]
fn clone(&self) -> (A, B)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A, B, C> Clone for (A, B, C) where A: Clone, B: Clone, C: Clone
[src]
fn clone(&self) -> (A, B, C)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A, B, C, D> Clone for (A, B, C, D) where A: Clone,
B: Clone,
C: Clone,
D: Clone
[src]
B: Clone,
C: Clone,
D: Clone
fn clone(&self) -> (A, B, C, D)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A, B, C, D, E> Clone for (A, B, C, D, E) where A: Clone,
B: Clone,
C: Clone,
D: Clone,
E: Clone
[src]
B: Clone,
C: Clone,
D: Clone,
E: Clone
fn clone(&self) -> (A, B, C, D, E)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A, B, C, D, E, F> Clone for (A, B, C, D, E, F) where A: Clone,
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone
[src]
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone
fn clone(&self) -> (A, B, C, D, E, F)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A, B, C, D, E, F, G> Clone for (A, B, C, D, E, F, G) where A: Clone,
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone
[src]
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone
fn clone(&self) -> (A, B, C, D, E, F, G)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A, B, C, D, E, F, G, H> Clone for (A, B, C, D, E, F, G, H) where A: Clone,
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone,
H: Clone
[src]
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone,
H: Clone
fn clone(&self) -> (A, B, C, D, E, F, G, H)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A, B, C, D, E, F, G, H, I> Clone for (A, B, C, D, E, F, G, H, I) where A: Clone,
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone,
H: Clone,
I: Clone
[src]
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone,
H: Clone,
I: Clone
fn clone(&self) -> (A, B, C, D, E, F, G, H, I)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A, B, C, D, E, F, G, H, I, J> Clone for (A, B, C, D, E, F, G, H, I, J) where A: Clone,
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone,
H: Clone,
I: Clone,
J: Clone
[src]
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone,
H: Clone,
I: Clone,
J: Clone
fn clone(&self) -> (A, B, C, D, E, F, G, H, I, J)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A, B, C, D, E, F, G, H, I, J, K> Clone for (A, B, C, D, E, F, G, H, I, J, K) where A: Clone,
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone,
H: Clone,
I: Clone,
J: Clone,
K: Clone
[src]
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone,
H: Clone,
I: Clone,
J: Clone,
K: Clone
fn clone(&self) -> (A, B, C, D, E, F, G, H, I, J, K)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A, B, C, D, E, F, G, H, I, J, K, L> Clone for (A, B, C, D, E, F, G, H, I, J, K, L) where A: Clone,
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone,
H: Clone,
I: Clone,
J: Clone,
K: Clone,
L: Clone
[src]
B: Clone,
C: Clone,
D: Clone,
E: Clone,
F: Clone,
G: Clone,
H: Clone,
I: Clone,
J: Clone,
K: Clone,
L: Clone
fn clone(&self) -> (A, B, C, D, E, F, G, H, I, J, K, L)
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Hash for ()
[src]
fn hash<H>(&self, _state: &mut H) where H: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A> Hash for (A,) where A: Hash
[src]
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A, B> Hash for (A, B) where A: Hash, B: Hash
[src]
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A, B, C> Hash for (A, B, C) where A: Hash, B: Hash, C: Hash
[src]
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A, B, C, D> Hash for (A, B, C, D) where A: Hash, B: Hash, C: Hash, D: Hash
[src]
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A, B, C, D, E> Hash for (A, B, C, D, E) where A: Hash,
B: Hash,
C: Hash,
D: Hash,
E: Hash
[src]
B: Hash,
C: Hash,
D: Hash,
E: Hash
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A, B, C, D, E, F> Hash for (A, B, C, D, E, F) where A: Hash,
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash
[src]
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A, B, C, D, E, F, G> Hash for (A, B, C, D, E, F, G) where A: Hash,
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash
[src]
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A, B, C, D, E, F, G, H> Hash for (A, B, C, D, E, F, G, H) where A: Hash,
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash,
H: Hash
[src]
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash,
H: Hash
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A, B, C, D, E, F, G, H, I> Hash for (A, B, C, D, E, F, G, H, I) where A: Hash,
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash,
H: Hash,
I: Hash
[src]
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash,
H: Hash,
I: Hash
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A, B, C, D, E, F, G, H, I, J> Hash for (A, B, C, D, E, F, G, H, I, J) where A: Hash,
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash,
H: Hash,
I: Hash,
J: Hash
[src]
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash,
H: Hash,
I: Hash,
J: Hash
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A, B, C, D, E, F, G, H, I, J, K> Hash for (A, B, C, D, E, F, G, H, I, J, K) where A: Hash,
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash,
H: Hash,
I: Hash,
J: Hash,
K: Hash
[src]
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash,
H: Hash,
I: Hash,
J: Hash,
K: Hash
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A, B, C, D, E, F, G, H, I, J, K, L> Hash for (A, B, C, D, E, F, G, H, I, J, K, L) where A: Hash,
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash,
H: Hash,
I: Hash,
J: Hash,
K: Hash,
L: Hash
[src]
B: Hash,
C: Hash,
D: Hash,
E: Hash,
F: Hash,
G: Hash,
H: Hash,
I: Hash,
J: Hash,
K: Hash,
L: Hash
fn hash<S>(&self, state: &mut S) where S: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Default for ()
[src]
impl<A> Default for (A,) where A: Default
[src]
impl<A, B> Default for (A, B) where A: Default, B: Default
[src]
impl<A, B, C> Default for (A, B, C) where A: Default, B: Default, C: Default
[src]
impl<A, B, C, D> Default for (A, B, C, D) where A: Default,
B: Default,
C: Default,
D: Default
[src]
B: Default,
C: Default,
D: Default
impl<A, B, C, D, E> Default for (A, B, C, D, E) where A: Default,
B: Default,
C: Default,
D: Default,
E: Default
[src]
B: Default,
C: Default,
D: Default,
E: Default
impl<A, B, C, D, E, F> Default for (A, B, C, D, E, F) where A: Default,
B: Default,
C: Default,
D: Default,
E: Default,
F: Default
[src]
B: Default,
C: Default,
D: Default,
E: Default,
F: Default
impl<A, B, C, D, E, F, G> Default for (A, B, C, D, E, F, G) where A: Default,
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default
[src]
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default
impl<A, B, C, D, E, F, G, H> Default for (A, B, C, D, E, F, G, H) where A: Default,
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default,
H: Default
[src]
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default,
H: Default
impl<A, B, C, D, E, F, G, H, I> Default for (A, B, C, D, E, F, G, H, I) where A: Default,
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default,
H: Default,
I: Default
[src]
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default,
H: Default,
I: Default
impl<A, B, C, D, E, F, G, H, I, J> Default for (A, B, C, D, E, F, G, H, I, J) where A: Default,
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default,
H: Default,
I: Default,
J: Default
[src]
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default,
H: Default,
I: Default,
J: Default
impl<A, B, C, D, E, F, G, H, I, J, K> Default for (A, B, C, D, E, F, G, H, I, J, K) where A: Default,
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default,
H: Default,
I: Default,
J: Default,
K: Default
[src]
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default,
H: Default,
I: Default,
J: Default,
K: Default
impl<A, B, C, D, E, F, G, H, I, J, K, L> Default for (A, B, C, D, E, F, G, H, I, J, K, L) where A: Default,
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default,
H: Default,
I: Default,
J: Default,
K: Default,
L: Default
[src]
B: Default,
C: Default,
D: Default,
E: Default,
F: Default,
G: Default,
H: Default,
I: Default,
J: Default,
K: Default,
L: Default
fn default() -> (A, B, C, D, E, F, G, H, I, J, K, L)
Returns the "default value" for a type. Read more
impl PartialOrd<()> for ()
[src]
fn partial_cmp(&self, &()) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<A> PartialOrd<(A,)> for (A,) where A: PartialEq<A> + PartialOrd<A>
[src]
fn partial_cmp(&self, other: &(A,)) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A,)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A,)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A,)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A,)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<A, B> PartialOrd<(A, B)> for (A, B) where A: PartialEq<A> + PartialOrd<A>,
B: PartialEq<B> + PartialOrd<B>
[src]
B: PartialEq<B> + PartialOrd<B>
fn partial_cmp(&self, other: &(A, B)) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A, B)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A, B)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A, B)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A, B)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<A, B, C> PartialOrd<(A, B, C)> for (A, B, C) where A: PartialEq<A> + PartialOrd<A>,
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>
[src]
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>
fn partial_cmp(&self, other: &(A, B, C)) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A, B, C)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A, B, C)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A, B, C)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A, B, C)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<A, B, C, D> PartialOrd<(A, B, C, D)> for (A, B, C, D) where A: PartialEq<A> + PartialOrd<A>,
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>
[src]
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>
fn partial_cmp(&self, other: &(A, B, C, D)) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A, B, C, D)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A, B, C, D)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A, B, C, D)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A, B, C, D)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<A, B, C, D, E> PartialOrd<(A, B, C, D, E)> for (A, B, C, D, E) where A: PartialEq<A> + PartialOrd<A>,
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>
[src]
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>
fn partial_cmp(&self, other: &(A, B, C, D, E)) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A, B, C, D, E)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A, B, C, D, E)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A, B, C, D, E)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A, B, C, D, E)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<A, B, C, D, E, F> PartialOrd<(A, B, C, D, E, F)> for (A, B, C, D, E, F) where A: PartialEq<A> + PartialOrd<A>,
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>
[src]
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>
fn partial_cmp(&self, other: &(A, B, C, D, E, F)) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A, B, C, D, E, F)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A, B, C, D, E, F)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A, B, C, D, E, F)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A, B, C, D, E, F)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<A, B, C, D, E, F, G> PartialOrd<(A, B, C, D, E, F, G)> for (A, B, C, D, E, F, G) where A: PartialEq<A> + PartialOrd<A>,
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>
[src]
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>
fn partial_cmp(&self, other: &(A, B, C, D, E, F, G)) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A, B, C, D, E, F, G)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A, B, C, D, E, F, G)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A, B, C, D, E, F, G)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A, B, C, D, E, F, G)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<A, B, C, D, E, F, G, H> PartialOrd<(A, B, C, D, E, F, G, H)> for (A, B, C, D, E, F, G, H) where A: PartialEq<A> + PartialOrd<A>,
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>,
H: PartialEq<H> + PartialOrd<H>
[src]
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>,
H: PartialEq<H> + PartialOrd<H>
fn partial_cmp(&self, other: &(A, B, C, D, E, F, G, H)) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A, B, C, D, E, F, G, H)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A, B, C, D, E, F, G, H)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A, B, C, D, E, F, G, H)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A, B, C, D, E, F, G, H)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<A, B, C, D, E, F, G, H, I> PartialOrd<(A, B, C, D, E, F, G, H, I)> for (A, B, C, D, E, F, G, H, I) where A: PartialEq<A> + PartialOrd<A>,
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>,
H: PartialEq<H> + PartialOrd<H>,
I: PartialEq<I> + PartialOrd<I>
[src]
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>,
H: PartialEq<H> + PartialOrd<H>,
I: PartialEq<I> + PartialOrd<I>
fn partial_cmp(&self, other: &(A, B, C, D, E, F, G, H, I)) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<A, B, C, D, E, F, G, H, I, J> PartialOrd<(A, B, C, D, E, F, G, H, I, J)> for (A, B, C, D, E, F, G, H, I, J) where A: PartialEq<A> + PartialOrd<A>,
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>,
H: PartialEq<H> + PartialOrd<H>,
I: PartialEq<I> + PartialOrd<I>,
J: PartialEq<J> + PartialOrd<J>
[src]
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>,
H: PartialEq<H> + PartialOrd<H>,
I: PartialEq<I> + PartialOrd<I>,
J: PartialEq<J> + PartialOrd<J>
fn partial_cmp(&self,
other: &(A, B, C, D, E, F, G, H, I, J))
-> Option<Ordering>
other: &(A, B, C, D, E, F, G, H, I, J))
-> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<A, B, C, D, E, F, G, H, I, J, K> PartialOrd<(A, B, C, D, E, F, G, H, I, J, K)> for (A, B, C, D, E, F, G, H, I, J, K) where A: PartialEq<A> + PartialOrd<A>,
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>,
H: PartialEq<H> + PartialOrd<H>,
I: PartialEq<I> + PartialOrd<I>,
J: PartialEq<J> + PartialOrd<J>,
K: PartialEq<K> + PartialOrd<K>
[src]
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>,
H: PartialEq<H> + PartialOrd<H>,
I: PartialEq<I> + PartialOrd<I>,
J: PartialEq<J> + PartialOrd<J>,
K: PartialEq<K> + PartialOrd<K>
fn partial_cmp(&self,
other: &(A, B, C, D, E, F, G, H, I, J, K))
-> Option<Ordering>
other: &(A, B, C, D, E, F, G, H, I, J, K))
-> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<A, B, C, D, E, F, G, H, I, J, K, L> PartialOrd<(A, B, C, D, E, F, G, H, I, J, K, L)> for (A, B, C, D, E, F, G, H, I, J, K, L) where A: PartialEq<A> + PartialOrd<A>,
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>,
H: PartialEq<H> + PartialOrd<H>,
I: PartialEq<I> + PartialOrd<I>,
J: PartialEq<J> + PartialOrd<J>,
K: PartialEq<K> + PartialOrd<K>,
L: PartialEq<L> + PartialOrd<L>
[src]
B: PartialEq<B> + PartialOrd<B>,
C: PartialEq<C> + PartialOrd<C>,
D: PartialEq<D> + PartialOrd<D>,
E: PartialEq<E> + PartialOrd<E>,
F: PartialEq<F> + PartialOrd<F>,
G: PartialEq<G> + PartialOrd<G>,
H: PartialEq<H> + PartialOrd<H>,
I: PartialEq<I> + PartialOrd<I>,
J: PartialEq<J> + PartialOrd<J>,
K: PartialEq<K> + PartialOrd<K>,
L: PartialEq<L> + PartialOrd<L>
fn partial_cmp(&self,
other: &(A, B, C, D, E, F, G, H, I, J, K, L))
-> Option<Ordering>
other: &(A, B, C, D, E, F, G, H, I, J, K, L))
-> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn ge(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
fn gt(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl PartialEq<()> for ()
[src]
fn eq(&self, _other: &()) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, _other: &()) -> bool
This method tests for !=
.
impl<A> PartialEq<(A,)> for (A,) where A: PartialEq<A>
[src]
fn eq(&self, other: &(A,)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A,)) -> bool
This method tests for !=
.
impl<A, B> PartialEq<(A, B)> for (A, B) where A: PartialEq<A>, B: PartialEq<B>
[src]
fn eq(&self, other: &(A, B)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A, B)) -> bool
This method tests for !=
.
impl<A, B, C> PartialEq<(A, B, C)> for (A, B, C) where A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>
[src]
B: PartialEq<B>,
C: PartialEq<C>
fn eq(&self, other: &(A, B, C)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A, B, C)) -> bool
This method tests for !=
.
impl<A, B, C, D> PartialEq<(A, B, C, D)> for (A, B, C, D) where A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>
[src]
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>
fn eq(&self, other: &(A, B, C, D)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A, B, C, D)) -> bool
This method tests for !=
.
impl<A, B, C, D, E> PartialEq<(A, B, C, D, E)> for (A, B, C, D, E) where A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>
[src]
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>
fn eq(&self, other: &(A, B, C, D, E)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A, B, C, D, E)) -> bool
This method tests for !=
.
impl<A, B, C, D, E, F> PartialEq<(A, B, C, D, E, F)> for (A, B, C, D, E, F) where A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>
[src]
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>
fn eq(&self, other: &(A, B, C, D, E, F)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A, B, C, D, E, F)) -> bool
This method tests for !=
.
impl<A, B, C, D, E, F, G> PartialEq<(A, B, C, D, E, F, G)> for (A, B, C, D, E, F, G) where A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>
[src]
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>
fn eq(&self, other: &(A, B, C, D, E, F, G)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A, B, C, D, E, F, G)) -> bool
This method tests for !=
.
impl<A, B, C, D, E, F, G, H> PartialEq<(A, B, C, D, E, F, G, H)> for (A, B, C, D, E, F, G, H) where A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>,
H: PartialEq<H>
[src]
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>,
H: PartialEq<H>
fn eq(&self, other: &(A, B, C, D, E, F, G, H)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A, B, C, D, E, F, G, H)) -> bool
This method tests for !=
.
impl<A, B, C, D, E, F, G, H, I> PartialEq<(A, B, C, D, E, F, G, H, I)> for (A, B, C, D, E, F, G, H, I) where A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>,
H: PartialEq<H>,
I: PartialEq<I>
[src]
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>,
H: PartialEq<H>,
I: PartialEq<I>
fn eq(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool
This method tests for !=
.
impl<A, B, C, D, E, F, G, H, I, J> PartialEq<(A, B, C, D, E, F, G, H, I, J)> for (A, B, C, D, E, F, G, H, I, J) where A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>,
H: PartialEq<H>,
I: PartialEq<I>,
J: PartialEq<J>
[src]
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>,
H: PartialEq<H>,
I: PartialEq<I>,
J: PartialEq<J>
fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool
This method tests for !=
.
impl<A, B, C, D, E, F, G, H, I, J, K> PartialEq<(A, B, C, D, E, F, G, H, I, J, K)> for (A, B, C, D, E, F, G, H, I, J, K) where A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>,
H: PartialEq<H>,
I: PartialEq<I>,
J: PartialEq<J>,
K: PartialEq<K>
[src]
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>,
H: PartialEq<H>,
I: PartialEq<I>,
J: PartialEq<J>,
K: PartialEq<K>
fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool
This method tests for !=
.
impl<A, B, C, D, E, F, G, H, I, J, K, L> PartialEq<(A, B, C, D, E, F, G, H, I, J, K, L)> for (A, B, C, D, E, F, G, H, I, J, K, L) where A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>,
H: PartialEq<H>,
I: PartialEq<I>,
J: PartialEq<J>,
K: PartialEq<K>,
L: PartialEq<L>
[src]
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G>,
H: PartialEq<H>,
I: PartialEq<I>,
J: PartialEq<J>,
K: PartialEq<K>,
L: PartialEq<L>
fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool
This method tests for !=
.
impl ToSocketAddrs for (IpAddr, u16)
[src]
type Iter = IntoIter<SocketAddr>
Returned iterator over socket addresses which this type may correspond to. Read more
fn to_socket_addrs(&self) -> Result<IntoIter<SocketAddr>>
Converts this object to an iterator of resolved SocketAddr
s. Read more
impl ToSocketAddrs for (Ipv4Addr, u16)
[src]
type Iter = IntoIter<SocketAddr>
Returned iterator over socket addresses which this type may correspond to. Read more
fn to_socket_addrs(&self) -> Result<IntoIter<SocketAddr>>
Converts this object to an iterator of resolved SocketAddr
s. Read more
impl ToSocketAddrs for (Ipv6Addr, u16)
[src]
type Iter = IntoIter<SocketAddr>
Returned iterator over socket addresses which this type may correspond to. Read more
fn to_socket_addrs(&self) -> Result<IntoIter<SocketAddr>>
Converts this object to an iterator of resolved SocketAddr
s. Read more
impl<'a> ToSocketAddrs for (&'a str, u16)
[src]
type Iter = IntoIter<SocketAddr>
Returned iterator over socket addresses which this type may correspond to. Read more
fn to_socket_addrs(&self) -> Result<IntoIter<SocketAddr>>
Converts this object to an iterator of resolved SocketAddr
s. Read more