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

Required Methods§

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

fn CreateCompositionSurfaceForSwapChain( &self, swapchain: Option<&IUnknown> ) -> Result<ICompositionSurface>

fn CreateGraphicsDevice( &self, renderingdevice: Option<&IUnknown> ) -> Result<CompositionGraphicsDevice>

Object Safety§

This trait is not object safe.

Implementors§