#[non_exhaustive]pub enum Units {
joule_second(joule_second),
atomic_unit_of_action(atomic_unit_of_action),
reduced_planck_constant(reduced_planck_constant),
planck_constant(planck_constant),
erg_second(erg_second),
electronvolt_second(electronvolt_second),
}
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.
joule_second(joule_second)
joule seconds
atomic_unit_of_action(atomic_unit_of_action)
atomic units of action
reduced_planck_constant(reduced_planck_constant)
reduced planck constants
planck_constant(planck_constant)
planck constants
erg_second(erg_second)
erg seconds
electronvolt_second(electronvolt_second)
electronvolt seconds
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