pub enum HardnessScale {
Brinell,
Vickers,
RockwellA,
RockwellB,
RockwellC,
Mohs,
}Variants§
Trait Implementations§
Source§impl Clone for HardnessScale
impl Clone for HardnessScale
Source§fn clone(&self) -> HardnessScale
fn clone(&self) -> HardnessScale
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HardnessScale
impl Debug for HardnessScale
Source§impl PartialEq for HardnessScale
impl PartialEq for HardnessScale
Source§fn eq(&self, other: &HardnessScale) -> bool
fn eq(&self, other: &HardnessScale) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HardnessScale
impl Eq for HardnessScale
impl StructuralPartialEq for HardnessScale
Auto Trait Implementations§
impl Freeze for HardnessScale
impl RefUnwindSafe for HardnessScale
impl Send for HardnessScale
impl Sync for HardnessScale
impl Unpin for HardnessScale
impl UnsafeUnpin for HardnessScale
impl UnwindSafe for HardnessScale
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