1 | // See ./struct-default-expanded.rs for generated code. |
---|---|
2 | |
3 | #![allow(dead_code)] |
4 | |
5 | use pin_project::pin_project; |
6 | |
7 | #[pin_project] |
8 | struct Struct<T, U> { |
9 | #[pin] |
10 | pinned: T, |
11 | unpinned: U, |
12 | } |
13 | |
14 | fn main() {} |
15 |
1 | // See ./struct-default-expanded.rs for generated code. |
---|---|
2 | |
3 | #![allow(dead_code)] |
4 | |
5 | use pin_project::pin_project; |
6 | |
7 | #[pin_project] |
8 | struct Struct<T, U> { |
9 | #[pin] |
10 | pinned: T, |
11 | unpinned: U, |
12 | } |
13 | |
14 | fn main() {} |
15 |