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 Clone for HasAttribute
impl Clone for HasAttribute
source§fn clone(&self) -> HasAttribute
fn clone(&self) -> HasAttribute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HasAttribute
impl Debug for HasAttribute
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
source§impl From<TypeSpec> for HasAttribute
impl From<TypeSpec> for HasAttribute
source§impl Hash for HasAttribute
impl Hash for HasAttribute
source§impl Ord for HasAttribute
impl Ord for HasAttribute
source§fn cmp(&self, other: &HasAttribute) -> Ordering
fn cmp(&self, other: &HasAttribute) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for HasAttribute
impl PartialEq for HasAttribute
source§fn eq(&self, other: &HasAttribute) -> bool
fn eq(&self, other: &HasAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for HasAttribute
impl PartialOrd for HasAttribute
source§fn partial_cmp(&self, other: &HasAttribute) -> Option<Ordering>
fn partial_cmp(&self, other: &HasAttribute) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for HasAttribute
impl StructuralEq for HasAttribute
impl StructuralPartialEq 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