1 // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
12 #[derive(Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
49 // FIXME(#44580): merge with `Array` once `[T; N]: Clone` where `T: Clone`
50 #[derive(Clone, Copy)]
51 struct CopyArray<T: Copy> {
87 #[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
88 struct Fn<A, B, C, D, E, F, G, H, I, J, K, L> {
94 f05: fn(A, B, C, D, E),
95 f06: fn(A, B, C, D, E, F),
96 f07: fn(A, B, C, D, E, F, G),
97 f08: fn(A, B, C, D, E, F, G, H),
98 f09: fn(A, B, C, D, E, F, G, H, I),
99 f10: fn(A, B, C, D, E, F, G, H, I, J),
100 f11: fn(A, B, C, D, E, F, G, H, I, J, K),
101 f12: fn(A, B, C, D, E, F, G, H, I, J, K, L),
104 #[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
105 struct Tuple<A, B, C, D, E, F, G, H, I, J, K, L> {
111 f05: (A, B, C, D, E),
112 f06: (A, B, C, D, E, F),
113 f07: (A, B, C, D, E, F, G),
114 f08: (A, B, C, D, E, F, G, H),
115 f09: (A, B, C, D, E, F, G, H, I),
116 f10: (A, B, C, D, E, F, G, H, I, J),
117 f11: (A, B, C, D, E, F, G, H, I, J, K),
118 f12: (A, B, C, D, E, F, G, H, I, J, K, L),