Enum ommui_data::samplic::MeasurementSystem
source · pub enum MeasurementSystem {
Metric,
Imperial,
Any,
}
Variants
Trait Implementations
sourceimpl Debug for MeasurementSystem
impl Debug for MeasurementSystem
sourceimpl<'de> Deserialize<'de> for MeasurementSystem
impl<'de> Deserialize<'de> for MeasurementSystem
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<MeasurementSystem> for MeasurementSystem
impl PartialEq<MeasurementSystem> for MeasurementSystem
sourcefn eq(&self, other: &MeasurementSystem) -> bool
fn eq(&self, other: &MeasurementSystem) -> bool
sourceimpl Serialize for MeasurementSystem
impl Serialize for MeasurementSystem
impl StructuralPartialEq 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