windows::Win32::Graphics::Dxgi

Trait IDXGISurface_Impl

pub trait IDXGISurface_Impl: IDXGIDeviceSubObject_Impl {
    // Required methods
    fn GetDesc(&self) -> Result<DXGI_SURFACE_DESC>;
    fn Map(
        &self,
        plockedrect: *mut DXGI_MAPPED_RECT,
        mapflags: DXGI_MAP_FLAGS,
    ) -> Result<()>;
    fn Unmap(&self) -> Result<()>;
}

Required Methods§

fn GetDesc(&self) -> Result<DXGI_SURFACE_DESC>

fn Map( &self, plockedrect: *mut DXGI_MAPPED_RECT, mapflags: DXGI_MAP_FLAGS, ) -> Result<()>

fn Unmap(&self) -> 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.

Implementors§