Struct windows::Win32::UI::Ribbon::IUIImageFromBitmap
pub struct IUIImageFromBitmap(/* private fields */);
Implementations§
§impl IUIImageFromBitmap
impl IUIImageFromBitmap
pub unsafe fn CreateImage<P0>(
&self,
bitmap: P0,
options: UI_OWNERSHIP
) -> Result<IUIImage>where
P0: IntoParam<HBITMAP>,
Trait Implementations§
§impl Clone for IUIImageFromBitmap
impl Clone for IUIImageFromBitmap
§fn clone(&self) -> IUIImageFromBitmap
fn clone(&self) -> IUIImageFromBitmap
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IUIImageFromBitmap
impl Debug for IUIImageFromBitmap
§impl From<&IUIImageFromBitmap> for &IUnknown
impl From<&IUIImageFromBitmap> for &IUnknown
§fn from(value: &IUIImageFromBitmap) -> Self
fn from(value: &IUIImageFromBitmap) -> Self
Converts to this type from the input type.
§impl From<IUIImageFromBitmap> for IUnknown
impl From<IUIImageFromBitmap> for IUnknown
§fn from(value: IUIImageFromBitmap) -> Self
fn from(value: IUIImageFromBitmap) -> Self
Converts to this type from the input type.
§impl Interface for IUIImageFromBitmap
impl Interface for IUIImageFromBitmap
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IUIImageFromBitmap
impl PartialEq for IUIImageFromBitmap
§fn eq(&self, other: &IUIImageFromBitmap) -> bool
fn eq(&self, other: &IUIImageFromBitmap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IUIImageFromBitmap
impl StructuralPartialEq for IUIImageFromBitmap
Auto Trait Implementations§
impl RefUnwindSafe for IUIImageFromBitmap
impl !Send for IUIImageFromBitmap
impl !Sync for IUIImageFromBitmap
impl Unpin for IUIImageFromBitmap
impl UnwindSafe for IUIImageFromBitmap
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