Skip to main content

Param

Trait Param 

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

Converts values to Windows API input parameters.

Implementations are provided for supported Windows types.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

§

impl<T> Param<T> for Option<&T>
where T: Type<T>,

Implementors§

§

impl Param<PCSTR> for PSTR

§

impl Param<PCWSTR> for &BSTR

§

impl Param<PCWSTR> for &HSTRING

§

impl Param<PCWSTR> for PWSTR

§

impl<T> Param<T> for InterfaceRef<'_, T>
where T: Type<T>,