pub enum PressureUnit {
Pascal,
KiloPascal,
MegaPascal,
GigaPascal,
Bar,
MilliBar,
Atmosphere,
Psi,
Torr,
MmHg,
}Expand description
Display/conversion units for Pressure.
Variants§
Pascal
Pascals (Pa) – SI base unit for pressure.
KiloPascal
Kilopascals (kPa).
MegaPascal
Megapascals (MPa).
GigaPascal
Gigapascals (GPa).
Bar
Bar (bar).
MilliBar
Millibar (mbar).
Atmosphere
Standard atmospheres (atm).
Psi
Pounds per square inch (psi).
Torr
Torr (torr).
MmHg
Millimeters of mercury (mmHg).
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 PartialEq for PressureUnit
impl PartialEq 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 UnsafeUnpin 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