Trait OutParam

pub trait OutParam<T, C = <T as TypeKind>::TypeKind>: Sized
where T: Type<T> + TypeKind,
{ }
Expand description

Provides automatic parameter conversion in cases where the Windows API expects implicit conversion support.

This is a mutable version of Param meant to support out parameters. There is no need to implement this trait. Blanket implementations are provided for all applicable Windows types.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl<T> OutParam<T> for Option<&mut T>
where T: Type<T>,

Implementors§