Struct windows_winmd::parsed::TypeDef[][src]

pub struct TypeDef {
    pub reader: &'static TypeReader,
    pub row: Row,
}

Fields

reader: &'static TypeReaderrow: Row

Implementations

impl TypeDef[src]

pub fn flags(&self) -> TypeFlags[src]

pub fn name(&self) -> (&'static str, &'static str)[src]

pub fn extends(&self) -> TypeDefOrRef[src]

pub fn fields(&self) -> impl Iterator<Item = Field> + '_[src]

pub fn methods(&self) -> impl Iterator<Item = MethodDef> + '_[src]

pub fn generics(&self) -> impl Iterator<Item = GenericParam> + '_[src]

pub fn interfaces(&self) -> impl Iterator<Item = InterfaceImpl> + '_[src]

pub fn attributes(&self) -> impl Iterator<Item = Attribute> + '_[src]

pub fn has_attribute(&self, name: (&str, &str)) -> bool[src]

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

pub fn category(&self) -> TypeCategory[src]

pub fn underlying_type(&self) -> ElementType[src]

Trait Implementations

impl Clone for TypeDef[src]

impl Copy for TypeDef[src]

impl Debug for TypeDef[src]

impl Eq for TypeDef[src]

impl Ord for TypeDef[src]

impl PartialEq<TypeDef> for TypeDef[src]

impl PartialOrd<TypeDef> for TypeDef[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.