Source code
Revision control
Copy as Markdown
Other Tools
// See ./enum-default-expanded.rs for generated code.
#![allow(dead_code)]
use pin_project::pin_project;
#[pin_project(project = EnumProj)]
enum Enum<T, U> {
Pinned(#[pin] T),
Unpinned(U),
}
fn main() {}