windows::Win32::System::WinRT::Composition

Trait ICompositorInterop_Impl

pub trait ICompositorInterop_Impl: IUnknownImpl {
    // Required methods
    fn CreateCompositionSurfaceForHandle(
        &self,
        swapchain: HANDLE,
    ) -> Result<ICompositionSurface>;
    fn CreateCompositionSurfaceForSwapChain(
        &self,
        swapchain: Ref<'_, IUnknown>,
    ) -> Result<ICompositionSurface>;
    fn CreateGraphicsDevice(
        &self,
        renderingdevice: Ref<'_, IUnknown>,
    ) -> Result<CompositionGraphicsDevice>;
}

Required Methods§

fn CreateCompositionSurfaceForHandle( &self, swapchain: HANDLE, ) -> Result<ICompositionSurface>

fn CreateCompositionSurfaceForSwapChain( &self, swapchain: Ref<'_, IUnknown>, ) -> Result<ICompositionSurface>

fn CreateGraphicsDevice( &self, renderingdevice: Ref<'_, IUnknown>, ) -> Result<CompositionGraphicsDevice>

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§