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