Sha256: d7e087b6852338fabe7edf39529c8f893a426b4d0c6aba2d2a6be0d95f739cdc
Contents?: true
Size: 407 Bytes
Versions: 8
Compression:
Stored size: 407 Bytes
Contents
use pin_project_lite::pin_project; use std::pin::Pin; pin_project! { #[project = EnumProj] #[project_ref = EnumProjRef] enum Enum<T, U> { Struct { #[pin] pinned: T, unpinned: U, }, Unit, } impl<T, U> PinnedDrop for Enum<T, U> { fn drop(this: Pin<&mut Self>) { let _ = this; } } } fn main() {}
Version data entries
8 entries across 8 versions & 1 rubygems