Struct windows::Object[][src]

#[repr(transparent)]pub struct Object(_);

A WinRT object that may be used as a polymorphic stand-in for any WinRT class, interface, or boxed value. Object implements the IInspectable interface.

Implementations

impl Object[src]

pub fn type_name(&self) -> Result<HString>[src]

Returns the canonical type name for the underlying object.

Trait Implementations

impl Clone for Object[src]

impl Debug for Object[src]

impl Eq for Object[src]

impl Interface for Object[src]

type Vtable = Object_vtable

impl PartialEq<Object> for Object[src]

impl RuntimeType for Object[src]

impl StructuralEq for Object[src]

impl StructuralPartialEq for Object[src]

impl TryFrom<&'_ HString> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<&'_ Object> for HString[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<&'_ str> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<HString> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<Object> for HString[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<bool> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<f32> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<f64> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<i16> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<i32> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<i64> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<u16> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<u32> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<u64> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<u8> for Object[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Object

impl !Send for Object

impl !Sync for Object

impl Unpin for Object

impl UnwindSafe for Object

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.