Trait ID3D11Debug_Impl
pub trait ID3D11Debug_Impl: IUnknownImpl {
// Required methods
fn SetFeatureMask(&self, mask: u32) -> Result<()>;
fn GetFeatureMask(&self) -> u32;
fn SetPresentPerRenderOpDelay(&self, milliseconds: u32) -> Result<()>;
fn GetPresentPerRenderOpDelay(&self) -> u32;
fn SetSwapChain(&self, pswapchain: Ref<'_, IDXGISwapChain>) -> Result<()>;
fn GetSwapChain(&self) -> Result<IDXGISwapChain>;
fn ValidateContext(
&self,
pcontext: Ref<'_, ID3D11DeviceContext>,
) -> Result<()>;
fn ReportLiveDeviceObjects(&self, flags: D3D11_RLDO_FLAGS) -> Result<()>;
fn ValidateContextForDispatch(
&self,
pcontext: Ref<'_, ID3D11DeviceContext>,
) -> Result<()>;
}
Required Methods§
fn SetFeatureMask(&self, mask: u32) -> Result<()>
fn GetFeatureMask(&self) -> u32
fn SetPresentPerRenderOpDelay(&self, milliseconds: u32) -> Result<()>
fn GetPresentPerRenderOpDelay(&self) -> u32
fn SetSwapChain(&self, pswapchain: Ref<'_, IDXGISwapChain>) -> Result<()>
fn GetSwapChain(&self) -> Result<IDXGISwapChain>
fn ValidateContext(&self, pcontext: Ref<'_, ID3D11DeviceContext>) -> Result<()>
fn ReportLiveDeviceObjects(&self, flags: D3D11_RLDO_FLAGS) -> Result<()>
fn ValidateContextForDispatch( &self, pcontext: Ref<'_, ID3D11DeviceContext>, ) -> Result<()>
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.