Enum uom::si::linear_number_density::Units
source · #[non_exhaustive]pub enum Units {
per_kilometer(per_kilometer),
per_meter(per_meter),
per_decimeter(per_decimeter),
per_centimeter(per_centimeter),
per_millimeter(per_millimeter),
per_foot(per_foot),
per_foot_survey(per_foot_survey),
per_inch(per_inch),
per_mile(per_mile),
per_mile_survey(per_mile_survey),
per_nautical_mile(per_nautical_mile),
per_yard(per_yard),
}
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.
per_kilometer(per_kilometer)
per kilometer
per_meter(per_meter)
per meter
per_decimeter(per_decimeter)
per decimeter
per_centimeter(per_centimeter)
per centimeter
per_millimeter(per_millimeter)
per millimeter
per_foot(per_foot)
per foot
per_foot_survey(per_foot_survey)
foot (U.S. survey)
per_inch(per_inch)
per inch
per_mile(per_mile)
per mile
per_mile_survey(per_mile_survey)
per mile (U.S. survey)
per_nautical_mile(per_nautical_mile)
per nautical mile
per_yard(per_yard)
per yard
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