ID2D1BitmapVtbl

Struct ID2D1BitmapVtbl 

Source
#[repr(C)]
pub struct ID2D1BitmapVtbl { pub parent: ID2D1ImageVtbl, pub GetSize: unsafe extern "system" fn(This: *mut ID2D1Bitmap, ret: *mut D2D1_SIZE_F) -> *mut D2D1_SIZE_F, pub GetPixelSize: unsafe extern "system" fn(This: *mut ID2D1Bitmap, ret: *mut D2D1_SIZE_U) -> *mut D2D1_SIZE_U, pub GetPixelFormat: unsafe extern "system" fn(This: *mut ID2D1Bitmap, ret: *mut D2D1_PIXEL_FORMAT) -> *mut D2D1_PIXEL_FORMAT, pub GetDpi: unsafe extern "system" fn(This: *mut ID2D1Bitmap, dpiX: *mut FLOAT, dpiY: *mut FLOAT), pub CopyFromBitmap: unsafe extern "system" fn(This: *mut ID2D1Bitmap, destPoint: *const D2D1_POINT_2U, bitmap: *mut ID2D1Bitmap, srcRect: *const D2D1_RECT_U) -> HRESULT, pub CopyFromRenderTarget: unsafe extern "system" fn(This: *mut ID2D1Bitmap, destPoint: *const D2D1_POINT_2U, renderTarget: *mut ID2D1RenderTarget, srcRect: *const D2D1_RECT_U) -> HRESULT, pub CopyFromMemory: unsafe extern "system" fn(This: *mut ID2D1Bitmap, dstRect: *const D2D1_RECT_U, srcData: *const c_void, pitch: UINT32) -> HRESULT, }

Fields§

§parent: ID2D1ImageVtbl§GetSize: unsafe extern "system" fn(This: *mut ID2D1Bitmap, ret: *mut D2D1_SIZE_F) -> *mut D2D1_SIZE_F§GetPixelSize: unsafe extern "system" fn(This: *mut ID2D1Bitmap, ret: *mut D2D1_SIZE_U) -> *mut D2D1_SIZE_U§GetPixelFormat: unsafe extern "system" fn(This: *mut ID2D1Bitmap, ret: *mut D2D1_PIXEL_FORMAT) -> *mut D2D1_PIXEL_FORMAT§GetDpi: unsafe extern "system" fn(This: *mut ID2D1Bitmap, dpiX: *mut FLOAT, dpiY: *mut FLOAT)§CopyFromBitmap: unsafe extern "system" fn(This: *mut ID2D1Bitmap, destPoint: *const D2D1_POINT_2U, bitmap: *mut ID2D1Bitmap, srcRect: *const D2D1_RECT_U) -> HRESULT§CopyFromRenderTarget: unsafe extern "system" fn(This: *mut ID2D1Bitmap, destPoint: *const D2D1_POINT_2U, renderTarget: *mut ID2D1RenderTarget, srcRect: *const D2D1_RECT_U) -> HRESULT§CopyFromMemory: unsafe extern "system" fn(This: *mut ID2D1Bitmap, dstRect: *const D2D1_RECT_U, srcData: *const c_void, pitch: UINT32) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.