#[non_exhaustive]pub enum Units {
radian_per_meter(radian_per_meter),
degree_per_meter(degree_per_meter),
radian_per_millimeter(radian_per_millimeter),
degree_per_millimeter(degree_per_millimeter),
}
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.
radian_per_meter(radian_per_meter)
radians per meter
degree_per_meter(degree_per_meter)
degrees per meter
radian_per_millimeter(radian_per_millimeter)
radians per millimeter
degree_per_millimeter(degree_per_millimeter)
degrees per millimeter
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