pub enum EnergyUnit {
Show 16 variants
Hartree,
Millihartree,
ElectronVolt,
MillielectronVolt,
Rydberg,
Millirydberg,
KilojoulesPerMole,
KilocaloriesPerMole,
Joules,
Erg,
Hertz,
Megahertz,
Gigahertz,
Terahertz,
Wavenumber,
Kelvin,
}Expand description
This keyword specifies the units in which energies will be reported.
§Example
ENERGY_UNIT : kcal/mol
Variants§
Hartree
Millihartree
ElectronVolt
MillielectronVolt
Rydberg
Millirydberg
KilojoulesPerMole
KilocaloriesPerMole
Joules
Erg
Hertz
Megahertz
Gigahertz
Terahertz
Wavenumber
Kelvin
Trait Implementations§
Source§impl Clone for EnergyUnit
impl Clone for EnergyUnit
Source§fn clone(&self) -> EnergyUnit
fn clone(&self) -> EnergyUnit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnergyUnit
impl Debug for EnergyUnit
Source§impl Default for EnergyUnit
impl Default for EnergyUnit
Source§fn default() -> EnergyUnit
fn default() -> EnergyUnit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnergyUnit
impl<'de> Deserialize<'de> for EnergyUnit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EnergyUnit
impl Display for EnergyUnit
Source§impl Hash for EnergyUnit
impl Hash for EnergyUnit
Source§impl KeywordDisplay for EnergyUnit
impl KeywordDisplay for EnergyUnit
Source§impl Ord for EnergyUnit
impl Ord for EnergyUnit
Source§fn cmp(&self, other: &EnergyUnit) -> Ordering
fn cmp(&self, other: &EnergyUnit) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EnergyUnit
impl PartialEq for EnergyUnit
Source§impl PartialOrd for EnergyUnit
impl PartialOrd for EnergyUnit
Source§impl Serialize for EnergyUnit
impl Serialize for EnergyUnit
impl Copy for EnergyUnit
impl Eq for EnergyUnit
impl StructuralPartialEq for EnergyUnit
Auto Trait Implementations§
impl Freeze for EnergyUnit
impl RefUnwindSafe for EnergyUnit
impl Send for EnergyUnit
impl Sync for EnergyUnit
impl Unpin for EnergyUnit
impl UnwindSafe for EnergyUnit
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