Sha256: 164a25e12b9898c093b5dee2c47a40dd549e6f49ba1c6bb22f4e4c4b98fe76b2

Contents?: true

Size: 300 Bytes

Versions: 8

Compression:

Stored size: 300 Bytes

Contents

use pin_project_lite::pin_project;
use std::pin::Pin;

pin_project! {
    struct Struct<T, U> {
        #[pin]
        pinned: T,
        unpinned: U,
    }
    impl<T, U> PinnedDrop for Struct<T, U> {
        fn drop(this: Pin<&mut Self>) {
            let _ = this;
        }
    }
}

fn main() {}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wasmtime-9.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/expand/pinned_drop/struct.rs
wasmtime-8.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/expand/pinned_drop/struct.rs
wasmtime-7.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/expand/pinned_drop/struct.rs
wasmtime-6.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/expand/pinned_drop/struct.rs
wasmtime-6.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/expand/pinned_drop/struct.rs
wasmtime-5.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/expand/pinned_drop/struct.rs
wasmtime-0.4.1 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/expand/pinned_drop/struct.rs
wasmtime-0.4.0 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/expand/pinned_drop/struct.rs