Sha256: 018954b44fe4c16d62a959f5578c5a26b968d0f9a3f156f1bac10492b934d949

Contents?: true

Size: 352 Bytes

Versions: 19

Compression:

Stored size: 352 Bytes

Contents

/// A trait for retrieving the implementation behind a COM or WinRT interface.
///
/// This trait is automatically implemented when using the `implement` macro.
pub trait AsImpl<T> {
    /// # Safety
    ///
    /// The caller needs to ensure that `self` is actually implemented by the
    /// implementation `T`.
    unsafe fn as_impl(&self) -> &T;
}

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-28.0.0 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-27.0.0 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-26.0.0 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-25.0.2 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-25.0.1 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-25.0.0 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-24.0.0 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-23.0.2 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-22.0.0 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-21.0.1 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-20.0.2 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-20.0.0 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-18.0.3 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-17.0.1 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-17.0.0 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-16.0.0 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-15.0.1 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs
wasmtime-15.0.0 ./ext/cargo-vendor/windows-core-0.52.0/src/as_impl.rs