windows::Win32::Graphics::DirectComposition

Trait IDCompositionDesktopDevice_Impl

pub trait IDCompositionDesktopDevice_Impl: IDCompositionDevice2_Impl {
    // Required methods
    fn CreateTargetForHwnd(
        &self,
        hwnd: HWND,
        topmost: BOOL,
    ) -> Result<IDCompositionTarget>;
    fn CreateSurfaceFromHandle(&self, handle: HANDLE) -> Result<IUnknown>;
    fn CreateSurfaceFromHwnd(&self, hwnd: HWND) -> Result<IUnknown>;
}

Required Methods§

fn CreateTargetForHwnd( &self, hwnd: HWND, topmost: BOOL, ) -> Result<IDCompositionTarget>

fn CreateSurfaceFromHandle(&self, handle: HANDLE) -> Result<IUnknown>

fn CreateSurfaceFromHwnd(&self, hwnd: HWND) -> Result<IUnknown>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§