ZeroTierOne/zeroidc/vendor/pin-project-lite/tests/expand/naming/enum-all.rs

18 lines
304 B
Rust

use pin_project_lite::pin_project;
pin_project! {
#[project = EnumProj]
#[project_ref = EnumProjRef]
#[project_replace = EnumProjReplace]
enum Enum<T, U> {
Struct {
#[pin]
pinned: T,
unpinned: U,
},
Unit,
}
}
fn main() {}