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-23.0.2 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-22.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-21.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-20.0.2 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-20.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-18.0.3 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-17.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-17.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-16.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-15.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-15.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-14.0.4 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-14.0.3 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-14.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-14.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.13/tests/include/basic.rs
wasmtime-13.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.12/tests/include/basic.rs
wasmtime-12.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.12/tests/include/basic.rs
wasmtime-12.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.12/tests/include/basic.rs
wasmtime-11.0.0 ./ext/cargo-vendor/pin-project-lite-0.2.12/tests/include/basic.rs
wasmtime-10.0.1 ./ext/cargo-vendor/pin-project-lite-0.2.12/tests/include/basic.rs