Struct windows_gen::Signature[][src]

pub struct Signature {
    pub kind: ElementType,
    pub pointers: usize,
    pub by_ref: bool,
    pub is_const: bool,
    pub is_array: bool,
}

Fields

kind: ElementTypepointers: usizeby_ref: boolis_const: boolis_array: bool

Implementations

impl Signature[src]

pub fn from_blob(blob: &mut Blob, generics: &[ElementType]) -> Option<Self>[src]

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

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

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

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

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

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

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

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

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

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

pub fn gen_win32_default(&self) -> TokenStream[src]

pub fn gen_winrt_default(&self) -> TokenStream[src]

Trait Implementations

impl Clone for Signature[src]

impl Debug for Signature[src]

impl Default for Signature[src]

impl Eq for Signature[src]

impl Ord for Signature[src]

impl PartialEq<Signature> for Signature[src]

impl PartialOrd<Signature> for Signature[src]

impl StructuralEq for Signature[src]

impl StructuralPartialEq for Signature[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.