[][src]Enum winmd::HasAttribute

pub enum HasAttribute {
    MethodDef(MethodDef),
    Field(Field),
    TypeRef(TypeRef),
    TypeDef(TypeDef),
    Param(Param),
    InterfaceImpl(InterfaceImpl),
    MemberRef(MemberRef),
    TypeSpec(TypeSpec),
    GenericParam(GenericParam),
}

Variants

MethodDef(MethodDef)
Field(Field)
TypeRef(TypeRef)
TypeDef(TypeDef)
Param(Param)
InterfaceImpl(InterfaceImpl)
MemberRef(MemberRef)
TypeSpec(TypeSpec)
GenericParam(GenericParam)

Implementations

impl HasAttribute[src]

pub fn encode(&self) -> u32[src]

Trait Implementations

impl Clone for HasAttribute[src]

impl Copy for HasAttribute[src]

impl Debug for HasAttribute[src]

impl Decode for HasAttribute[src]

impl Eq for HasAttribute[src]

impl Ord for HasAttribute[src]

impl PartialEq<HasAttribute> for HasAttribute[src]

impl PartialOrd<HasAttribute> for HasAttribute[src]

impl StructuralEq for HasAttribute[src]

impl StructuralPartialEq for HasAttribute[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.