• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 use pin_project::pin_project;
2 
3 #[pin_project(project = EnumProj, project_ref = EnumProjRef, project_replace = EnumProjOwn)]
4 enum Enum<T, U> {
5     Struct {
6         #[pin]
7         pinned1: T,
8         #[pin]
9         pinned2: T,
10         unpinned1: U,
11         unpinned2: U,
12     },
13     Tuple(#[pin] T, #[pin] T, U, U),
14     Unit,
15 }
16 
main()17 fn main() {}
18