mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-08 14:02:59 +00:00
16 lines
220 B
Rust
16 lines
220 B
Rust
|
use pin_project_lite::pin_project;
|
||
|
|
||
|
pin_project! {
|
||
|
#[project_replace = StructProjReplace]
|
||
|
struct Struct<T, U> {
|
||
|
#[pin]
|
||
|
pinned1: T,
|
||
|
#[pin]
|
||
|
pinned2: T,
|
||
|
unpinned1: U,
|
||
|
unpinned2: U,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
fn main() {}
|