use pin_project_lite::pin_project; pin_project! { pub struct Struct { #[pin] pub pinned: T, pub unpinned: U, } } fn main() {}