1 use pin_project::pin_project; 2 3 #[pin_project(project = Proj, project_ref = ProjRef, project_replace = ProjOwn)] 4 struct TupleStruct<T, U>(#[pin] T, U); 5 main()6fn main() {} 7
1 use pin_project::pin_project; 2 3 #[pin_project(project = Proj, project_ref = ProjRef, project_replace = ProjOwn)] 4 struct TupleStruct<T, U>(#[pin] T, U); 5 main()6fn main() {} 7