Sha256: 9e399b682bc74c899d26924c2cab52a911f7392e29300defb6521e561fafafe4

Contents?: true

Size: 736 Bytes

Versions: 30

Compression:

Stored size: 736 Bytes

Contents

// default pin_project! is completely safe.

::pin_project_lite::pin_project! {
    #[derive(Debug)]
    pub struct DefaultStruct<T, U> {
        #[pin]
        pub pinned: T,
        pub unpinned: U,
    }
}

::pin_project_lite::pin_project! {
    #[project = DefaultStructProj]
    #[project_ref = DefaultStructProjRef]
    #[derive(Debug)]
    pub struct DefaultStructNamed<T, U> {
        #[pin]
        pub pinned: T,
        pub unpinned: U,
    }
}

::pin_project_lite::pin_project! {
    #[project = DefaultEnumProj]
    #[project_ref = DefaultEnumProjRef]
    #[derive(Debug)]
    pub enum DefaultEnum<T, U> {
        Struct {
            #[pin]
            pinned: T,
            unpinned: U,
        },
        Unit,
    }
}

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
wasmtime-10.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.12/tests/include/basic.rs
wasmtime-9.0.4 ./ext/cargo-vendor/pin-project-lite-0.2.12/tests/include/basic.rs
wasmtime-9.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/include/basic.rs
wasmtime-8.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/include/basic.rs
wasmtime-7.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/include/basic.rs
wasmtime-6.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/include/basic.rs
wasmtime-6.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/include/basic.rs
wasmtime-5.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/include/basic.rs
wasmtime-0.4.1 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/include/basic.rs
wasmtime-0.4.0 ./ext/cargo-vendor/pin-project-lite-0.2.9/tests/include/basic.rs