1 use pin_project::pin_project; 2 3 #[pin_project] 4 pub struct Struct<T, U> { 5 #[pin] 6 pub pinned: T, 7 pub unpinned: U, 8 } 9 main()10 fn main() {} 11