Enum uom::si::reciprocal_length::Units
source · #[non_exhaustive]pub enum Units {
reciprocal_kilometer(reciprocal_kilometer),
reciprocal_meter(reciprocal_meter),
reciprocal_decimeter(reciprocal_decimeter),
reciprocal_centimeter(reciprocal_centimeter),
reciprocal_millimeter(reciprocal_millimeter),
reciprocal_micrometer(reciprocal_micrometer),
reciprocal_nanometer(reciprocal_nanometer),
reciprocal_angstrom(reciprocal_angstrom),
diopter(diopter),
rydberg_constant(rydberg_constant),
}
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.
reciprocal_kilometer(reciprocal_kilometer)
reciprocal kilometers
reciprocal_meter(reciprocal_meter)
reciprocal meters
reciprocal_decimeter(reciprocal_decimeter)
reciprocal decimeters
reciprocal_centimeter(reciprocal_centimeter)
reciprocal centimeters
reciprocal_millimeter(reciprocal_millimeter)
reciprocal millimeters
reciprocal_micrometer(reciprocal_micrometer)
reciprocal micrometers
reciprocal_nanometer(reciprocal_nanometer)
reciprocal nanometers
reciprocal_angstrom(reciprocal_angstrom)
reciprocal ångströms
diopter(diopter)
diopters
rydberg_constant(rydberg_constant)
Rydberg constants
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