windows::Win32::Graphics::Dxgi

Trait IDXGIResource_Impl

pub trait IDXGIResource_Impl: IDXGIDeviceSubObject_Impl {
    // Required methods
    fn GetSharedHandle(&self) -> Result<HANDLE>;
    fn GetUsage(&self) -> Result<DXGI_USAGE>;
    fn SetEvictionPriority(
        &self,
        evictionpriority: DXGI_RESOURCE_PRIORITY,
    ) -> Result<()>;
    fn GetEvictionPriority(&self) -> Result<DXGI_RESOURCE_PRIORITY>;
}

Required Methods§

fn GetSharedHandle(&self) -> Result<HANDLE>

fn GetUsage(&self) -> Result<DXGI_USAGE>

fn SetEvictionPriority( &self, evictionpriority: DXGI_RESOURCE_PRIORITY, ) -> Result<()>

fn GetEvictionPriority(&self) -> Result<DXGI_RESOURCE_PRIORITY>

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§