Struct windows::FactoryCache[][src]

pub struct FactoryCache<C, I> { /* fields omitted */ }

Attempts to load and cache the factory interface for the given WinRT class. This is automatically

Implementations

impl<C, I> FactoryCache<C, I>[src]

pub const fn new() -> Self[src]

impl<C: RuntimeName, I: Interface> FactoryCache<C, I>[src]

pub fn call<R, F: FnOnce(&I) -> Result<R>>(&mut self, callback: F) -> Result<R>[src]

Auto Trait Implementations

impl<C, I> RefUnwindSafe for FactoryCache<C, I> where
    C: RefUnwindSafe,
    I: RefUnwindSafe

impl<C, I> Send for FactoryCache<C, I> where
    C: Send,
    I: Send

impl<C, I> Sync for FactoryCache<C, I> where
    C: Sync,
    I: Sync

impl<C, I> Unpin for FactoryCache<C, I> where
    C: Unpin,
    I: Unpin

impl<C, I> UnwindSafe for FactoryCache<C, I> where
    C: UnwindSafe,
    I: UnwindSafe

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, 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.