Enum windows_metadata::HasAttribute
source · 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§
Trait Implementations§
source§impl From<Field> for HasAttribute
impl From<Field> for HasAttribute
source§impl From<GenericParam> for HasAttribute
impl From<GenericParam> for HasAttribute
source§fn from(from: GenericParam) -> Self
fn from(from: GenericParam) -> Self
Converts to this type from the input type.
source§impl From<InterfaceImpl> for HasAttribute
impl From<InterfaceImpl> for HasAttribute
source§fn from(from: InterfaceImpl) -> Self
fn from(from: InterfaceImpl) -> Self
Converts to this type from the input type.
source§impl From<MemberRef> for HasAttribute
impl From<MemberRef> for HasAttribute
source§impl From<MethodDef> for HasAttribute
impl From<MethodDef> for HasAttribute
source§impl From<Param> for HasAttribute
impl From<Param> for HasAttribute
source§impl From<TypeDef> for HasAttribute
impl From<TypeDef> for HasAttribute
source§impl From<TypeRef> for HasAttribute
impl From<TypeRef> for HasAttribute
Auto Trait Implementations§
impl RefUnwindSafe for HasAttribute
impl Send for HasAttribute
impl Sync for HasAttribute
impl Unpin for HasAttribute
impl UnwindSafe for HasAttribute
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more