[][src]Struct winrt::windows::foundation::IReference

#[repr(transparent)]
pub struct IReference<T> where
    T: RtType
{ /* fields omitted */ }

Methods

impl<T: RtType> IReference<T>[src]

pub fn get_value(&self) -> Result<T::Out>[src]

Methods from Deref<Target = IInspectable>

pub fn get_iids(&self) -> ComArray<Guid>[src]

Returns the interfaces that are implemented by the current Windows Runtime object.

pub fn get_trust_level(&self) -> TrustLevel[src]

Returns the trust level of the current Windows Runtime object.

Trait Implementations

impl<T> ComInterface for IReference<T> where
    T: RtType
[src]

type Vtbl = IReferenceVtbl<T>

The type that defines the VTable of this interface.

impl ComIid for IReference<bool>[src]

impl ComIid for IReference<Char>[src]

impl ComIid for IReference<DateTime>[src]

impl ComIid for IReference<f32>[src]

impl ComIid for IReference<f64>[src]

impl ComIid for IReference<Guid>[src]

impl ComIid for IReference<HString>[src]

impl ComIid for IReference<i16>[src]

impl ComIid for IReference<i32>[src]

impl ComIid for IReference<i64>[src]

impl ComIid for IReference<i8>[src]

impl ComIid for IReference<IInspectable>[src]

impl ComIid for IReference<Matrix4x4>[src]

impl ComIid for IReference<Quaternion>[src]

impl ComIid for IReference<Vector2>[src]

impl ComIid for IReference<Vector3>[src]

impl ComIid for IReference<Point>[src]

impl ComIid for IReference<Rect>[src]

impl ComIid for IReference<Size>[src]

impl ComIid for IReference<TimeSpan>[src]

impl ComIid for IReference<u16>[src]

impl ComIid for IReference<u32>[src]

impl ComIid for IReference<u64>[src]

impl ComIid for IReference<u8>[src]

impl<T: RtType> RtInterface for IReference<T>[src]

impl<T: RtType> RtClassInterface for IReference<T>[src]

impl<T> RtType for IReference<T> where
    T: RtType
[src]

type In = IReference<T>

type Abi = *mut IReference<T>

type Out = Option<Self::OutNonNull>

type OutNonNull = ComPtr<IReference<T>>

unsafe fn unwrap(input: &Self::In) -> Self::Abi[src]

unsafe fn uninitialized() -> Self::Abi[src]

unsafe fn wrap(abi: Self::Abi) -> Self::Out[src]

impl<T> Deref for IReference<T> where
    T: RtType
[src]

type Target = IInspectable

The resulting type after dereferencing.

impl<T> DerefMut for IReference<T> where
    T: RtType
[src]

Auto Trait Implementations

impl<T> !Send for IReference<T>

impl<T> !Sync for IReference<T>

Blanket Implementations

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

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

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.

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

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

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