mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-07 13:38:42 +00:00
18 lines
304 B
Rust
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() {}
|