use pin_project::pin_project; #[pin_project(project_replace)] struct TupleStruct(#[pin] T, #[pin] T, U, U); fn main() {}