blob: cf886974db19c3948b714a2a318456ab10bcaa73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
use pin_project::pin_project;
#[pin_project(project_replace = ProjOwn)]
enum Enum<T, U> {
Struct {
#[pin]
pinned: T,
unpinned: U,
},
Tuple(#[pin] T, U),
Unit,
}
fn main() {}
|