[][src]Enum com::Param

pub enum Param<'a, T> {
    Borrowed(&'a T),
    Owned(T),
}

A COM method parameter used to accept either a reference or value.

Variants

Borrowed(&'a T)

The borrowed version of the param

Owned(T)

The owned version of the param

Implementations

impl<'a, T: AbiTransferable> Param<'a, T>[src]

pub fn get_abi(&mut self) -> T::Abi[src]

Get the param's underlying ABI

Trait Implementations

impl<'a, T> From<&'a T> for Param<'a, T>[src]

impl<'a, T> From<&'a T> for Param<'a, *const T>[src]

impl<'a, T> From<&'a mut T> for Param<'a, *mut T>[src]

impl<'a, T> From<*mut T> for Param<'a, *const T>[src]

impl<'a, T> From<T> for Param<'a, T>[src]

impl<'a> Into<Param<'a, IUnknown>> for IClassFactory[src]

impl<'a> Into<Param<'a, IUnknown>> for &'a IClassFactory[src]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for Param<'a, T> where
    T: RefUnwindSafe

impl<'a, T> Send for Param<'a, T> where
    T: Send + Sync

impl<'a, T> Sync for Param<'a, T> where
    T: Sync

impl<'a, T> Unpin for Param<'a, T> where
    T: Unpin

impl<'a, T> UnwindSafe for Param<'a, T> where
    T: RefUnwindSafe + 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<!> for T[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.