Trait IDXGIFactoryMedia_Impl
pub trait IDXGIFactoryMedia_Impl: IUnknownImpl {
// Required methods
fn CreateSwapChainForCompositionSurfaceHandle(
&self,
pdevice: Ref<'_, IUnknown>,
hsurface: HANDLE,
pdesc: *const DXGI_SWAP_CHAIN_DESC1,
prestricttooutput: Ref<'_, IDXGIOutput>,
) -> Result<IDXGISwapChain1>;
fn CreateDecodeSwapChainForCompositionSurfaceHandle(
&self,
pdevice: Ref<'_, IUnknown>,
hsurface: HANDLE,
pdesc: *const DXGI_DECODE_SWAP_CHAIN_DESC,
pyuvdecodebuffers: Ref<'_, IDXGIResource>,
prestricttooutput: Ref<'_, IDXGIOutput>,
) -> Result<IDXGIDecodeSwapChain>;
}
Required Methods§
fn CreateSwapChainForCompositionSurfaceHandle( &self, pdevice: Ref<'_, IUnknown>, hsurface: HANDLE, pdesc: *const DXGI_SWAP_CHAIN_DESC1, prestricttooutput: Ref<'_, IDXGIOutput>, ) -> Result<IDXGISwapChain1>
fn CreateDecodeSwapChainForCompositionSurfaceHandle( &self, pdevice: Ref<'_, IUnknown>, hsurface: HANDLE, pdesc: *const DXGI_DECODE_SWAP_CHAIN_DESC, pyuvdecodebuffers: Ref<'_, IDXGIResource>, prestricttooutput: Ref<'_, IDXGIOutput>, ) -> Result<IDXGIDecodeSwapChain>
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.