pub enum MeasurementSystem {
Metric,
Imperial,
}
Variants
Metric
Imperial
Trait Implementations
sourceimpl Clone for MeasurementSystem
impl Clone for MeasurementSystem
sourcefn clone(&self) -> MeasurementSystem
fn clone(&self) -> MeasurementSystem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MeasurementSystem
impl Debug for MeasurementSystem
impl Copy for MeasurementSystem
Auto Trait Implementations
impl RefUnwindSafe for MeasurementSystem
impl Send for MeasurementSystem
impl Sync for MeasurementSystem
impl Unpin for MeasurementSystem
impl UnwindSafe for MeasurementSystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more