android13/external/rust/crates/pin-project/tests/expand/pub/enum.rs

15 lines
240 B
Rust

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