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