Enum windows_metadata::TypeDefOrRef
source · pub enum TypeDefOrRef {
TypeDef(TypeDef),
TypeRef(TypeRef),
TypeSpec(TypeSpec),
}Variants§
Trait Implementations§
source§impl Clone for TypeDefOrRef
impl Clone for TypeDefOrRef
source§fn clone(&self) -> TypeDefOrRef
fn clone(&self) -> TypeDefOrRef
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 TypeDefOrRef
impl Debug for TypeDefOrRef
source§impl Ord for TypeDefOrRef
impl Ord for TypeDefOrRef
source§fn cmp(&self, other: &TypeDefOrRef) -> Ordering
fn cmp(&self, other: &TypeDefOrRef) -> 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<TypeDefOrRef> for TypeDefOrRef
impl PartialEq<TypeDefOrRef> for TypeDefOrRef
source§fn eq(&self, other: &TypeDefOrRef) -> bool
fn eq(&self, other: &TypeDefOrRef) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<TypeDefOrRef> for TypeDefOrRef
impl PartialOrd<TypeDefOrRef> for TypeDefOrRef
source§fn partial_cmp(&self, other: &TypeDefOrRef) -> Option<Ordering>
fn partial_cmp(&self, other: &TypeDefOrRef) -> 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 Copy for TypeDefOrRef
impl Eq for TypeDefOrRef
impl StructuralEq for TypeDefOrRef
impl StructuralPartialEq for TypeDefOrRef
Auto Trait Implementations§
impl RefUnwindSafe for TypeDefOrRef
impl Send for TypeDefOrRef
impl Sync for TypeDefOrRef
impl Unpin for TypeDefOrRef
impl UnwindSafe for TypeDefOrRef
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