Struct windows::core::IInspectable
#[repr(transparent)]pub struct IInspectable(pub IUnknown);
Expand description
A WinRT object that may be used as a polymorphic stand-in for any WinRT class, interface, or boxed value.
IInspectable
represents the
IInspectable
interface.
Tuple Fields§
§0: IUnknown
Implementations§
§impl IInspectable
impl IInspectable
pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
Returns the canonical type name for the underlying object.
Trait Implementations§
§impl Clone for IInspectable
impl Clone for IInspectable
§fn clone(&self) -> IInspectable
fn clone(&self) -> IInspectable
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 ComInterface for IInspectable
impl ComInterface for IInspectable
§const IID: GUID = GUID::from_u128(233315268667916382399851615017868730000)
const IID: GUID = GUID::from_u128(233315268667916382399851615017868730000)
A unique identifier representing this interface.
fn as_unknown(&self) -> &IUnknown
§impl Debug for IInspectable
impl Debug for IInspectable
§impl Interface for IInspectable
impl Interface for IInspectable
type Vtable = IInspectable_Vtbl
§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.
§impl PartialEq<IInspectable> for IInspectable
impl PartialEq<IInspectable> for IInspectable
§fn eq(&self, other: &IInspectable) -> bool
fn eq(&self, other: &IInspectable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl TryFrom<&HSTRING> for IInspectable
impl TryFrom<&HSTRING> for IInspectable
§impl TryFrom<&IInspectable> for HSTRING
impl TryFrom<&IInspectable> for HSTRING
§impl TryFrom<&str> for IInspectable
impl TryFrom<&str> for IInspectable
§impl TryFrom<HSTRING> for IInspectable
impl TryFrom<HSTRING> for IInspectable
§impl TryFrom<IInspectable> for HSTRING
impl TryFrom<IInspectable> for HSTRING
§impl TryFrom<bool> for IInspectable
impl TryFrom<bool> for IInspectable
§impl TryFrom<f32> for IInspectable
impl TryFrom<f32> for IInspectable
§impl TryFrom<f64> for IInspectable
impl TryFrom<f64> for IInspectable
§impl TryFrom<i16> for IInspectable
impl TryFrom<i16> for IInspectable
§impl TryFrom<i32> for IInspectable
impl TryFrom<i32> for IInspectable
§impl TryFrom<i64> for IInspectable
impl TryFrom<i64> for IInspectable
§impl TryFrom<u16> for IInspectable
impl TryFrom<u16> for IInspectable
§impl TryFrom<u32> for IInspectable
impl TryFrom<u32> for IInspectable
§impl TryFrom<u64> for IInspectable
impl TryFrom<u64> for IInspectable
§impl TryFrom<u8> for IInspectable
impl TryFrom<u8> for IInspectable
impl Eq for IInspectable
impl StructuralEq for IInspectable
impl StructuralPartialEq for IInspectable
Auto Trait Implementations§
impl RefUnwindSafe for IInspectable
impl !Send for IInspectable
impl !Sync for IInspectable
impl Unpin for IInspectable
impl UnwindSafe for IInspectable
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