pub enum MeasurementSystem {
Metric,
Imperial,
}
Variants§
Trait Implementations§
Source§impl Clone for MeasurementSystem
impl Clone for MeasurementSystem
Source§fn clone(&self) -> MeasurementSystem
fn clone(&self) -> MeasurementSystem
Returns a duplicate 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 MeasurementSystem
impl Debug for MeasurementSystem
impl Copy for MeasurementSystem
Auto Trait Implementations§
impl Freeze for MeasurementSystem
impl RefUnwindSafe for MeasurementSystem
impl Send for MeasurementSystem
impl Sync for MeasurementSystem
impl Unpin for MeasurementSystem
impl UnwindSafe for MeasurementSystem
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