pub enum PressureUnit {
HartreePerBohr3,
ElectronVoltsPerAng3,
Pascal,
Megapascal,
Gigapascal,
Atmosphere,
Bar,
Megabar,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for PressureUnit
impl Clone for PressureUnit
Source§fn clone(&self) -> PressureUnit
fn clone(&self) -> PressureUnit
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 PressureUnit
impl Debug for PressureUnit
Source§impl<'de> Deserialize<'de> for PressureUnit
impl<'de> Deserialize<'de> for PressureUnit
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 PressureUnit
impl Display for PressureUnit
Source§impl Hash for PressureUnit
impl Hash for PressureUnit
Source§impl KeywordDisplay for PressureUnit
impl KeywordDisplay for PressureUnit
Source§impl Ord for PressureUnit
impl Ord for PressureUnit
Source§fn cmp(&self, other: &PressureUnit) -> Ordering
fn cmp(&self, other: &PressureUnit) -> 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 PressureUnit
impl PartialEq for PressureUnit
Source§impl PartialOrd for PressureUnit
impl PartialOrd for PressureUnit
Source§impl Serialize for PressureUnit
impl Serialize for PressureUnit
impl Copy for PressureUnit
impl Eq for PressureUnit
impl StructuralPartialEq for PressureUnit
Auto Trait Implementations§
impl Freeze for PressureUnit
impl RefUnwindSafe for PressureUnit
impl Send for PressureUnit
impl Sync for PressureUnit
impl Unpin for PressureUnit
impl UnwindSafe for PressureUnit
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