Enum com::Param[][src]

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

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

Variants

Borrowed(&'a T)

The borrowed version of the param

Tuple Fields of Borrowed

0: &'a T
Owned(T)

The owned version of the param

Tuple Fields of Owned

0: T

Implementations

Get the param’s underlying ABI

Trait Implementations

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.