Source code
Revision control
Copy as Markdown
Other Tools
use pin_project::pin_project;
#[pin_project(project = Proj, project_ref = ProjRef, project_replace = ProjOwn)]
struct Struct<T, U> {
#[pin]
pinned: T,
unpinned: U,
}
fn main() {}