Skip to main content

InvokeArg

Trait InvokeArg 

Source
pub trait InvokeArg<'a> {
    type Input: 'a;

    // Required method
    fn convert(input: Self::Input) -> <Self as ClosureArg>::Output
       where Self: ClosureArg;
}

Required Associated Types§

Source

type Input: 'a

Required Methods§

Source

fn convert(input: Self::Input) -> <Self as ClosureArg>::Output
where Self: ClosureArg,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl InvokeArg<'_> for BOOL

Source§

impl InvokeArg<'_> for HRESULT

Source§

impl<'a, I: 'a + Interface + Clone> InvokeArg<'a> for Option<I>

Source§

type Input = Ref<'a, I>

Source§

fn convert(input: Ref<'a, I>) -> <Self as ClosureArg>::Output

Source§

impl<'a> InvokeArg<'a> for PCWSTR

Implementors§