Vladislav Tsarev 3dec7eeb01 Initial commit
2024-10-18 11:36:33 +03:00

17 lines
267 B
Rust

// SPDX-License-Identifier: Apache-2.0 OR MIT
use pin_project::pin_project;
#[pin_project(project_replace = EnumProjOwn)]
enum Enum<T, U> {
Struct {
#[pin]
pinned: T,
unpinned: U,
},
Tuple(#[pin] T, U),
Unit,
}
fn main() {}