pub enum UnitDomain {
Chemistry,
Finance,
Measure,
Physics,
Time,
Wave,
}Expand description
Domain tags for the current RustUse unit families.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UnitDomain
impl Clone for UnitDomain
Source§fn clone(&self) -> UnitDomain
fn clone(&self) -> UnitDomain
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 UnitDomain
impl Debug for UnitDomain
Source§impl Hash for UnitDomain
impl Hash for UnitDomain
Source§impl PartialEq for UnitDomain
impl PartialEq for UnitDomain
Source§fn eq(&self, other: &UnitDomain) -> bool
fn eq(&self, other: &UnitDomain) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UnitDomain
impl Eq for UnitDomain
impl StructuralPartialEq for UnitDomain
Auto Trait Implementations§
impl Freeze for UnitDomain
impl RefUnwindSafe for UnitDomain
impl Send for UnitDomain
impl Sync for UnitDomain
impl Unpin for UnitDomain
impl UnsafeUnpin for UnitDomain
impl UnwindSafe for UnitDomain
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