Trait IDXGIOutput1_Impl
pub trait IDXGIOutput1_Impl: IDXGIOutput_Impl {
// Required methods
fn GetDisplayModeList1(
&self,
enumformat: DXGI_FORMAT,
flags: DXGI_ENUM_MODES,
pnummodes: *mut u32,
pdesc: *mut DXGI_MODE_DESC1,
) -> Result<()>;
fn FindClosestMatchingMode1(
&self,
pmodetomatch: *const DXGI_MODE_DESC1,
pclosestmatch: *mut DXGI_MODE_DESC1,
pconcerneddevice: Ref<'_, IUnknown>,
) -> Result<()>;
fn GetDisplaySurfaceData1(
&self,
pdestination: Ref<'_, IDXGIResource>,
) -> Result<()>;
fn DuplicateOutput(
&self,
pdevice: Ref<'_, IUnknown>,
) -> Result<IDXGIOutputDuplication>;
}
Required Methods§
fn GetDisplayModeList1( &self, enumformat: DXGI_FORMAT, flags: DXGI_ENUM_MODES, pnummodes: *mut u32, pdesc: *mut DXGI_MODE_DESC1, ) -> Result<()>
fn FindClosestMatchingMode1( &self, pmodetomatch: *const DXGI_MODE_DESC1, pclosestmatch: *mut DXGI_MODE_DESC1, pconcerneddevice: Ref<'_, IUnknown>, ) -> Result<()>
fn GetDisplaySurfaceData1( &self, pdestination: Ref<'_, IDXGIResource>, ) -> Result<()>
fn DuplicateOutput( &self, pdevice: Ref<'_, IUnknown>, ) -> Result<IDXGIOutputDuplication>
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.