Sha256: 8f590791cb4693bb077c562f0d93128f9452e6a5f60c631b5fd624a221883ebd
Contents?: true
Size: 435 Bytes
Versions: 8
Compression:
Stored size: 435 Bytes
Contents
// SPDX-License-Identifier: Apache-2.0 OR MIT use pin_project_lite::pin_project; 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