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>
pub fn GetRuntimeClassName(&self) -> Result<HSTRING>
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
fn as_unknown(&self) -> &IUnknown
§fn cast<T: ComInterface>(&self) -> Result<T>
fn cast<T: ComInterface>(&self) -> Result<T>
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§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<&IInspectable> for bool
impl TryFrom<&IInspectable> for bool
§impl TryFrom<&IInspectable> for f32
impl TryFrom<&IInspectable> for f32
§impl TryFrom<&IInspectable> for f64
impl TryFrom<&IInspectable> for f64
§impl TryFrom<&IInspectable> for i16
impl TryFrom<&IInspectable> for i16
§impl TryFrom<&IInspectable> for i32
impl TryFrom<&IInspectable> for i32
§impl TryFrom<&IInspectable> for i64
impl TryFrom<&IInspectable> for i64
§impl TryFrom<&IInspectable> for u16
impl TryFrom<&IInspectable> for u16
§impl TryFrom<&IInspectable> for u32
impl TryFrom<&IInspectable> for u32
§impl TryFrom<&IInspectable> for u64
impl TryFrom<&IInspectable> for u64
§impl TryFrom<&IInspectable> for u8
impl TryFrom<&IInspectable> for u8
§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<IInspectable> for bool
impl TryFrom<IInspectable> for bool
§impl TryFrom<IInspectable> for f32
impl TryFrom<IInspectable> for f32
§impl TryFrom<IInspectable> for f64
impl TryFrom<IInspectable> for f64
§impl TryFrom<IInspectable> for i16
impl TryFrom<IInspectable> for i16
§impl TryFrom<IInspectable> for i32
impl TryFrom<IInspectable> for i32
§impl TryFrom<IInspectable> for i64
impl TryFrom<IInspectable> for i64
§impl TryFrom<IInspectable> for u16
impl TryFrom<IInspectable> for u16
§impl TryFrom<IInspectable> for u32
impl TryFrom<IInspectable> for u32
§impl TryFrom<IInspectable> for u64
impl TryFrom<IInspectable> for u64
§impl TryFrom<IInspectable> for u8
impl TryFrom<IInspectable> for u8
§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