#[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§
impl Freeze for ID2D1BitmapVtbl
impl RefUnwindSafe for ID2D1BitmapVtbl
impl Send for ID2D1BitmapVtbl
impl Sync for ID2D1BitmapVtbl
impl Unpin for ID2D1BitmapVtbl
impl UnwindSafe for ID2D1BitmapVtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more