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