Skip to main content

OutParam

Trait OutParam 

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

Converts values to Windows API output parameters.

Implementations are provided for supported Windows types. Interface output storage is &mut Option<T>. Optional storage accepts Some(&mut value) or None, with the same cleanup as a non-optional output.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

§

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

Implementors§