ZeroTierOne/zeroidc/vendor/pin-project-lite/tests/expand/naming/struct-ref.rs

13 lines
189 B
Rust

use pin_project_lite::pin_project;
pin_project! {
#[project_ref = StructProjRef]
struct Struct<T, U> {
#[pin]
pinned: T,
unpinned: U,
}
}
fn main() {}