Trait windows::Win32::Graphics::Direct2D::ID2D1Bitmap1_Impl

pub trait ID2D1Bitmap1_Impl: Sized + ID2D1Bitmap_Impl {
    // Required methods
    fn GetColorContext(&self, colorcontext: *mut Option<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: *mut Option<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<()>

Object Safety§

This trait is not object safe.

Implementors§