Enum uom::si::linear_mass_density::Units
source · #[non_exhaustive]pub enum Units {
kilogram_per_meter(kilogram_per_meter),
gram_per_kilometer(gram_per_kilometer),
gram_per_centimeter(gram_per_centimeter),
ounce_per_foot(ounce_per_foot),
ounce_per_inch(ounce_per_inch),
pound_per_yard(pound_per_yard),
pound_per_foot(pound_per_foot),
pound_per_inch(pound_per_inch),
}
Expand description
Unit enum.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
kilogram_per_meter(kilogram_per_meter)
kilograms per meter
gram_per_kilometer(gram_per_kilometer)
grams per kilometer
gram_per_centimeter(gram_per_centimeter)
grams per centimeter
ounce_per_foot(ounce_per_foot)
ounces per foot
ounce_per_inch(ounce_per_inch)
ounces per inch
pound_per_yard(pound_per_yard)
pounds per yard
pound_per_foot(pound_per_foot)
pounds per foot
pound_per_inch(pound_per_inch)
pounds per inch
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Units
impl RefUnwindSafe for Units
impl Send for Units
impl Sync for Units
impl Unpin for Units
impl UnwindSafe for Units
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