windows::Win32::Graphics::Direct2D

Trait ID2D1Bitmap1_Impl

pub trait ID2D1Bitmap1_Impl: ID2D1Bitmap_Impl {
    // Required methods
    fn GetColorContext(&self, colorcontext: OutRef<'_, ID2D1ColorContext>);
    fn GetOptions(&self) -> D2D1_BITMAP_OPTIONS;
    fn GetSurface(&self) -> Result<IDXGISurface>;
    fn Map(&self, options: D2D1_MAP_OPTIONS) -> Result<D2D1_MAPPED_RECT>;
    fn Unmap(&self) -> Result<()>;
}

Required Methods§

fn GetColorContext(&self, colorcontext: OutRef<'_, ID2D1ColorContext>)

fn GetOptions(&self) -> D2D1_BITMAP_OPTIONS

fn GetSurface(&self) -> Result<IDXGISurface>

fn Map(&self, options: D2D1_MAP_OPTIONS) -> Result<D2D1_MAPPED_RECT>

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§