pub enum MeasurementUnitVolume {
GenericFluidOunce,
GenericShot,
GenericCup,
GenericPint,
GenericQuart,
GenericGallon,
ImperialCubicInch,
ImperialCubicFoot,
ImperialCubicYard,
MetricMilliliter,
MetricLiter,
}
Expand description
The unit of volume used to measure a quantity.
Variants§
GenericFluidOunce
The volume is measured in ounces.
GenericShot
The volume is measured in shots.
GenericCup
The volume is measured in cups.
GenericPint
The volume is measured in pints.
GenericQuart
The volume is measured in quarts.
GenericGallon
The volume is measured in gallons.
ImperialCubicInch
The volume is measured in cubic inches.
ImperialCubicFoot
The volume is measured in cubic feet.
ImperialCubicYard
The volume is measured in cubic yards.
MetricMilliliter
The volume is measured in metric milliliters.
MetricLiter
The volume is measured in metric liters.
Trait Implementations§
Source§impl Clone for MeasurementUnitVolume
impl Clone for MeasurementUnitVolume
Source§fn clone(&self) -> MeasurementUnitVolume
fn clone(&self) -> MeasurementUnitVolume
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MeasurementUnitVolume
impl Debug for MeasurementUnitVolume
Source§impl<'de> Deserialize<'de> for MeasurementUnitVolume
impl<'de> Deserialize<'de> for MeasurementUnitVolume
Source§fn 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
Source§impl PartialEq for MeasurementUnitVolume
impl PartialEq for MeasurementUnitVolume
Source§impl Serialize for MeasurementUnitVolume
impl Serialize for MeasurementUnitVolume
impl Eq for MeasurementUnitVolume
impl StructuralPartialEq for MeasurementUnitVolume
Auto Trait Implementations§
impl Freeze for MeasurementUnitVolume
impl RefUnwindSafe for MeasurementUnitVolume
impl Send for MeasurementUnitVolume
impl Sync for MeasurementUnitVolume
impl Unpin for MeasurementUnitVolume
impl UnwindSafe for MeasurementUnitVolume
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.