Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1Bitmap [−][src]
#[repr(transparent)]pub struct ID2D1Bitmap(_);
Implementations
pub unsafe fn CopyFromBitmap<'a>(
&self,
destpoint: *const D2D_POINT_2U,
bitmap: impl IntoParam<'a, ID2D1Bitmap>,
srcrect: *const D2D_RECT_U
) -> HRESULT
[src]pub unsafe fn CopyFromRenderTarget<'a>(
&self,
destpoint: *const D2D_POINT_2U,
rendertarget: impl IntoParam<'a, ID2D1RenderTarget>,
srcrect: *const D2D_RECT_U
) -> HRESULT
[src]pub unsafe fn CopyFromMemory(
&self,
dstrect: *const D2D_RECT_U,
srcdata: *const c_void,
pitch: u32
) -> HRESULT
[src]Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = ID2D1Bitmap_abi
Returns the vtable for an assumed interface. The name comes from Box
’s assume_init
method as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ID2D1Bitmap
impl !Send for ID2D1Bitmap
impl !Sync for ID2D1Bitmap
impl Unpin for ID2D1Bitmap
impl UnwindSafe for ID2D1Bitmap
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more