Struct win_sys::IInspectable
source · [−]#[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: IUnknownImplementations
sourceimpl IInspectable
impl IInspectable
sourcepub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
Returns the canonical type name for the underlying object.
Trait Implementations
sourceimpl Clone for IInspectable
impl Clone for IInspectable
sourcepub fn clone(&self) -> IInspectable
pub fn clone(&self) -> IInspectable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for IInspectable
impl Debug for IInspectable
sourceimpl<'_> From<&'_ IPropertyValue> for IInspectable
impl<'_> From<&'_ IPropertyValue> for IInspectable
sourcepub fn from(value: &IPropertyValue) -> IInspectable
pub fn from(value: &IPropertyValue) -> IInspectable
Performs the conversion.
sourceimpl<'_, T> From<&'_ IReference<T>> for IInspectable where
T: 'static + RuntimeType,
impl<'_, T> From<&'_ IReference<T>> for IInspectable where
T: 'static + RuntimeType,
sourcepub fn from(value: &IReference<T>) -> IInspectable
pub fn from(value: &IReference<T>) -> IInspectable
Performs the conversion.
sourceimpl<'_> From<&'_ IStringable> for IInspectable
impl<'_> From<&'_ IStringable> for IInspectable
sourcepub fn from(value: &IStringable) -> IInspectable
pub fn from(value: &IStringable) -> IInspectable
Performs the conversion.
sourceimpl From<IPropertyValue> for IInspectable
impl From<IPropertyValue> for IInspectable
sourcepub fn from(value: IPropertyValue) -> IInspectable
pub fn from(value: IPropertyValue) -> IInspectable
Performs the conversion.
sourceimpl<T> From<IReference<T>> for IInspectable where
T: 'static + RuntimeType,
impl<T> From<IReference<T>> for IInspectable where
T: 'static + RuntimeType,
sourcepub fn from(value: IReference<T>) -> IInspectable
pub fn from(value: IReference<T>) -> IInspectable
Performs the conversion.
sourceimpl From<IStringable> for IInspectable
impl From<IStringable> for IInspectable
sourcepub fn from(value: IStringable) -> IInspectable
pub fn from(value: IStringable) -> IInspectable
Performs the conversion.
sourceimpl Interface for IInspectable
impl Interface for IInspectable
sourceimpl PartialEq<IInspectable> for IInspectable
impl PartialEq<IInspectable> for IInspectable
sourcepub fn eq(&self, other: &IInspectable) -> bool
pub fn eq(&self, other: &IInspectable) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcepub fn ne(&self, other: &IInspectable) -> bool
pub fn ne(&self, other: &IInspectable) -> bool
This method tests for !=.
sourceimpl RuntimeName for IInspectable
impl RuntimeName for IInspectable
sourceimpl<'_> TryFrom<&'_ HSTRING> for IInspectable
impl<'_> TryFrom<&'_ HSTRING> for IInspectable
sourceimpl<'_> TryFrom<&'_ IInspectable> for HSTRING
impl<'_> TryFrom<&'_ IInspectable> for HSTRING
sourceimpl<'_> TryFrom<&'_ str> for IInspectable
impl<'_> TryFrom<&'_ str> for IInspectable
sourceimpl TryFrom<HSTRING> for IInspectable
impl TryFrom<HSTRING> for IInspectable
sourceimpl TryFrom<IInspectable> for HSTRING
impl TryFrom<IInspectable> for HSTRING
sourceimpl TryFrom<bool> for IInspectable
impl TryFrom<bool> for IInspectable
sourceimpl TryFrom<f32> for IInspectable
impl TryFrom<f32> for IInspectable
sourceimpl TryFrom<f64> for IInspectable
impl TryFrom<f64> for IInspectable
sourceimpl TryFrom<i16> for IInspectable
impl TryFrom<i16> for IInspectable
sourceimpl TryFrom<i32> for IInspectable
impl TryFrom<i32> for IInspectable
sourceimpl TryFrom<i64> for IInspectable
impl TryFrom<i64> for IInspectable
sourceimpl TryFrom<u16> for IInspectable
impl TryFrom<u16> for IInspectable
sourceimpl TryFrom<u32> for IInspectable
impl TryFrom<u32> for IInspectable
sourceimpl TryFrom<u64> for IInspectable
impl TryFrom<u64> for IInspectable
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more