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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Debug for IInspectable
impl Debug for IInspectable
impl Interface for IInspectable
impl Interface for IInspectable
impl PartialEq<IInspectable> for IInspectable
impl PartialEq<IInspectable> for IInspectable
fn eq(&self, other: &IInspectable) -> bool
fn eq(&self, other: &IInspectable) -> bool
impl TryFrom<&HSTRING> for IInspectable
impl TryFrom<&HSTRING> for IInspectable
impl TryFrom<&IInspectable> for HSTRING
impl TryFrom<&IInspectable> for HSTRING
fn try_from(value: &IInspectable) -> Result<Self>
fn try_from(value: &IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<&IInspectable> for bool
impl TryFrom<&IInspectable> for bool
fn try_from(value: &IInspectable) -> Result<Self>
fn try_from(value: &IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<&IInspectable> for f32
impl TryFrom<&IInspectable> for f32
fn try_from(value: &IInspectable) -> Result<Self>
fn try_from(value: &IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<&IInspectable> for f64
impl TryFrom<&IInspectable> for f64
fn try_from(value: &IInspectable) -> Result<Self>
fn try_from(value: &IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<&IInspectable> for i16
impl TryFrom<&IInspectable> for i16
fn try_from(value: &IInspectable) -> Result<Self>
fn try_from(value: &IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<&IInspectable> for i32
impl TryFrom<&IInspectable> for i32
fn try_from(value: &IInspectable) -> Result<Self>
fn try_from(value: &IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<&IInspectable> for i64
impl TryFrom<&IInspectable> for i64
fn try_from(value: &IInspectable) -> Result<Self>
fn try_from(value: &IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<&IInspectable> for u16
impl TryFrom<&IInspectable> for u16
fn try_from(value: &IInspectable) -> Result<Self>
fn try_from(value: &IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<&IInspectable> for u32
impl TryFrom<&IInspectable> for u32
fn try_from(value: &IInspectable) -> Result<Self>
fn try_from(value: &IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<&IInspectable> for u64
impl TryFrom<&IInspectable> for u64
fn try_from(value: &IInspectable) -> Result<Self>
fn try_from(value: &IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<&IInspectable> for u8
impl TryFrom<&IInspectable> for u8
fn try_from(value: &IInspectable) -> Result<Self>
fn try_from(value: &IInspectable) -> Result<Self>
Performs the conversion.
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
fn try_from(value: IInspectable) -> Result<Self>
fn try_from(value: IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<IInspectable> for bool
impl TryFrom<IInspectable> for bool
fn try_from(value: IInspectable) -> Result<Self>
fn try_from(value: IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<IInspectable> for f32
impl TryFrom<IInspectable> for f32
fn try_from(value: IInspectable) -> Result<Self>
fn try_from(value: IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<IInspectable> for f64
impl TryFrom<IInspectable> for f64
fn try_from(value: IInspectable) -> Result<Self>
fn try_from(value: IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<IInspectable> for i16
impl TryFrom<IInspectable> for i16
fn try_from(value: IInspectable) -> Result<Self>
fn try_from(value: IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<IInspectable> for i32
impl TryFrom<IInspectable> for i32
fn try_from(value: IInspectable) -> Result<Self>
fn try_from(value: IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<IInspectable> for i64
impl TryFrom<IInspectable> for i64
fn try_from(value: IInspectable) -> Result<Self>
fn try_from(value: IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<IInspectable> for u16
impl TryFrom<IInspectable> for u16
fn try_from(value: IInspectable) -> Result<Self>
fn try_from(value: IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<IInspectable> for u32
impl TryFrom<IInspectable> for u32
fn try_from(value: IInspectable) -> Result<Self>
fn try_from(value: IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<IInspectable> for u64
impl TryFrom<IInspectable> for u64
fn try_from(value: IInspectable) -> Result<Self>
fn try_from(value: IInspectable) -> Result<Self>
Performs the conversion.
impl TryFrom<IInspectable> for u8
impl TryFrom<IInspectable> for u8
fn try_from(value: IInspectable) -> Result<Self>
fn try_from(value: IInspectable) -> Result<Self>
Performs the conversion.
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 Vtable for IInspectable
impl Vtable 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.
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> &Self
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> &Self
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more