Struct windows_gen::MethodSignature[][src]

pub struct MethodSignature {
    pub params: Vec<MethodParam>,
    pub return_type: Option<Signature>,
}

Fields

params: Vec<MethodParam>return_type: Option<Signature>

Implementations

impl MethodSignature[src]

pub fn dependencies(&self) -> Vec<ElementType>[src]

pub fn has_query_interface(&self) -> bool[src]

pub fn gen_winrt_constraint(&self, gen: &Gen<'_>) -> TokenStream[src]

pub fn gen_winrt_abi(&self, gen: &Gen<'_>) -> TokenStream[src]

pub fn gen_winrt_method(
    &self,
    method: &MethodInfo,
    interface: &InterfaceInfo,
    gen: &Gen<'_>
) -> TokenStream
[src]

pub fn gen_constraints(&self, params: &[MethodParam]) -> TokenStream[src]

pub fn gen_winrt_params(
    &self,
    params: &[MethodParam],
    gen: &Gen<'_>
) -> TokenStream
[src]

pub fn gen_winrt_upcall(&self, inner: TokenStream, gen: &Gen<'_>) -> TokenStream[src]

pub fn gen_win32_params(
    &self,
    params: &[MethodParam],
    gen: &Gen<'_>
) -> TokenStream
[src]

Trait Implementations

impl Debug for MethodSignature[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.