Trait windows_core::Param

pub trait Param<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.

There is no need to implement this trait. Blanket implementations are provided for all applicable Windows types.

Object Safety§

This trait is not object safe.

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