Struct windows::Win32::UI::Shell::IInitializeWithWindow
pub struct IInitializeWithWindow(/* private fields */);
Implementations§
§impl IInitializeWithWindow
impl IInitializeWithWindow
pub unsafe fn Initialize<P0>(&self, hwnd: P0) -> Result<()>where
P0: IntoParam<HWND>,
Trait Implementations§
§impl Clone for IInitializeWithWindow
impl Clone for IInitializeWithWindow
§fn clone(&self) -> IInitializeWithWindow
fn clone(&self) -> IInitializeWithWindow
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 IInitializeWithWindow
impl Debug for IInitializeWithWindow
§impl From<&IInitializeWithWindow> for &IUnknown
impl From<&IInitializeWithWindow> for &IUnknown
§fn from(value: &IInitializeWithWindow) -> Self
fn from(value: &IInitializeWithWindow) -> Self
Converts to this type from the input type.
§impl From<IInitializeWithWindow> for IUnknown
impl From<IInitializeWithWindow> for IUnknown
§fn from(value: IInitializeWithWindow) -> Self
fn from(value: IInitializeWithWindow) -> Self
Converts to this type from the input type.
§impl Interface for IInitializeWithWindow
impl Interface for IInitializeWithWindow
§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 IInitializeWithWindow
impl PartialEq for IInitializeWithWindow
§fn eq(&self, other: &IInitializeWithWindow) -> bool
fn eq(&self, other: &IInitializeWithWindow) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IInitializeWithWindow
impl StructuralPartialEq for IInitializeWithWindow
Auto Trait Implementations§
impl RefUnwindSafe for IInitializeWithWindow
impl !Send for IInitializeWithWindow
impl !Sync for IInitializeWithWindow
impl Unpin for IInitializeWithWindow
impl UnwindSafe for IInitializeWithWindow
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