Skip to main content

Pure

Enum Pure 

Source
pub enum Pure {
Show 158 variants Acetone, Air, Ammonia, Argon, Benzene, Butene, CarbonDioxide, CarbonMonoxide, CarbonylSulfide, Chlorine, cis2Butene, Cyclohexane, Cyclopentane, Cyclopropane, D4, D5, D6, Deuterium, Dichloroethane, DiethylEther, DimethylCarbonate, DimethylEther, Ethane, Ethanol, Ethylbenzene, Ethylene, EthyleneOxide, Fluorine, HeavyWater, Helium, HFE143m, Hydrogen, HydrogenChloride, HydrogenSulfide, Isobutane, Isobutene, Isohexane, Isopentane, Krypton, MD2M, MD3M, MD4M, MDM, Methane, Methanol, MethylLinoleate, MethylLinolenate, MethylOleate, MethylPalmitate, MethylStearate, MM, mXylene, nButane, nDecane, nDodecane, Neon, Neopentane, nHeptane, nHexane, Nitrogen, NitrousOxide, nNonane, nOctane, Novec649, nPentane, nPerfluorobutane, nPerfluorohexane, nPerfluoropentane, nPropane, nUndecane, Orthodeuterium, Orthohydrogen, Oxygen, oXylene, Paradeuterium, Parahydrogen, Propylene, PropyleneGlycol, Propyne, pXylene, SES36, R11, R12, R13, R13I1, R14, R21, R22, R23, R32, R40, R41, R50, R113, R114, R115, R116, R123, R124, R125, R134a, R141b, R142b, R143a, RE143a, R152a, R161, R170, R218, R227ea, R236ea, R236fa, R245ca, R245fa, R290, RC318, R365mfc, R404A, R407C, R410A, R507A, R600, R600a, R601, R601a, R702, R704, R717, R718, R720, R728, R729, R732, R740, R744, R764, R846, R1123, R1130E, R1132E, R1150, R1224ydZ, R1233zdE, R1234yf, R1234zeE, R1234zeZ, R1243zf, R1270, R1336mzzE, R1336mzzZ, SulfurDioxide, SulfurHexafluoride, Tetrahydrofuran, Toluene, trans2Butene, VinylChloride, Water, Xenon,
}
Expand description

CoolProp pure or pseudo-pure substances.

§Examples

Conversion between &str:

use std::str::FromStr;

use rfluids::prelude::*;

assert_eq!(Pure::Water.as_ref(), "Water");
assert_eq!(Pure::from_str("Water"), Ok(Pure::Water));
assert_eq!(Pure::try_from("H2O"), Ok(Pure::Water));

§See Also

Variants§

§

Acetone

Acetone.

§See Also

§

Air

Dry air.

§See Also

§

Ammonia

Ammonia.

§See Also

§

Argon

Argon.

§See Also

§

Benzene

Benzene.

§See Also

§

Butene

1-Butene.

§See Also

§

CarbonDioxide

Carbon dioxide.

§See Also

§

CarbonMonoxide

Carbon monoxide.

§See Also

§

CarbonylSulfide

Carbonyl sulfide.

§See Also

§

Chlorine

Chlorine.

§See Also

§

cis2Butene

cis-2-Butene.

§See Also

§

Cyclohexane

Cyclohexane.

§See Also

§

Cyclopentane

Cyclopentane.

§See Also

§

Cyclopropane

Cyclopropane.

§See Also

§

D4

D4 – octamethylcyclotetrasiloxane.

§See Also

§

D5

D5 – decamethylcyclopentasiloxane.

§See Also

§

D6

D6 – dodecamethylcyclohexasiloxane.

§See Also

§

Deuterium

Deuterium.

§See Also

§

Dichloroethane

1,2-Dichloroethane.

§See Also

§

DiethylEther

Diethyl ether.

§See Also

§

DimethylCarbonate

Dimethyl carbonate.

§See Also

§

DimethylEther

Dimethyl ether.

§See Also

§

Ethane

Ethane.

§See Also

§

Ethanol

Ethanol.

§See Also

§

Ethylbenzene

Ethylbenzene.

§See Also

§

Ethylene

Ethylene.

§See Also

§

EthyleneOxide

Ethylene oxide.

§See Also

§

Fluorine

Fluorine.

§See Also

§

HeavyWater

Heavy water.

§See Also

§

Helium

Helium.

§See Also

§

HFE143m

HFE-143m – trifluoromethyl methyl ether.

§See Also

§

Hydrogen

Hydrogen.

§See Also

§

HydrogenChloride

Hydrogen chloride.

§See Also

§

HydrogenSulfide

Hydrogen sulfide.

§See Also

§

Isobutane

Isobutane.

§See Also

§

Isobutene

Isobutene.

§See Also

§

Isohexane

Isohexane.

§See Also

§

Isopentane

Isopentane.

§See Also

§

Krypton

Krypton.

§See Also

§

MD2M

MD2M – decamethyltetrasiloxane.

§See Also

§

MD3M

MD3M – dodecamethylpentasiloxane.

§See Also

§

MD4M

MD4M – tetradecamethylhexasiloxane.

§See Also

§

MDM

MDM – octamethyltrisiloxane.

§See Also

§

Methane

Methane.

§See Also

§

Methanol

Methanol.

§See Also

§

MethylLinoleate

Methyl linoleate.

§See Also

§

MethylLinolenate

Methyl linolenate.

§See Also

§

MethylOleate

Methyl oleate.

§See Also

§

MethylPalmitate

Methyl palmitate.

§See Also

§

MethylStearate

Methyl stearate.

§See Also

§

MM

MM – hexamethyldisiloxane.

§See Also

§

mXylene

m-Xylene.

§See Also

§

nButane

n-Butane.

§See Also

§

nDecane

n-Decane.

§See Also

§

nDodecane

n-Dodecane.

§See Also

§

Neon

Neon.

§See Also

§

Neopentane

Neopentane.

§See Also

§

nHeptane

n-Heptane.

§See Also

§

nHexane

n-Hexane.

§See Also

§

Nitrogen

Nitrogen.

§See Also

§

NitrousOxide

Nitrous oxide.

§See Also

§

nNonane

n-Nonane.

§See Also

§

nOctane

n-Octane.

§See Also

§

Novec649

Novec 649 / Novec 1230 – perfluoro(2-methyl-3-pentanone).

§See Also

§

nPentane

n-Pentane.

§See Also

§

nPerfluorobutane

n-Perfluorobutane.

§See Also

§

nPerfluorohexane

n-Perfluorohexane.

§See Also

§

nPerfluoropentane

n-Perfluoropentane.

§See Also

§

nPropane

n-Propane.

§See Also

§

nUndecane

n-Undecane.

§See Also

§

Orthodeuterium

Orthodeuterium.

§See Also

§

Orthohydrogen

Orthohydrogen.

§See Also

§

Oxygen

Oxygen.

§See Also

§

oXylene

o-Xylene.

§See Also

§

Paradeuterium

Paradeuterium.

§See Also

§

Parahydrogen

Parahydrogen.

§See Also

§

Propylene

Propylene.

§See Also

§

PropyleneGlycol

Propylene glycol.

§See Also

§

Propyne

Propyne.

§See Also

§

pXylene

p-Xylene.

§See Also

§

SES36

Solkatherm SES36 – azeotropic refrigerant mixture of R365mfc and Galden HT 55.

§See Also

§

R11

Refrigerant R11 – trichlorofluoromethane.

§See Also

§

R12

Refrigerant R12 – dichlorodifluoromethane.

§See Also

§

R13

Refrigerant R13 – chlorotrifluoromethane.

§See Also

§

R13I1

Refrigerant R13I1 – trifluoroiodomethane.

§See Also

§

R14

Refrigerant R14 – carbon tetrafluoride.

§See Also

§

R21

Refrigerant R21 – dichlorofluoromethane.

§See Also

§

R22

Refrigerant R22 – chlorodifluoromethane.

§See Also

§

R23

Refrigerant R23 – trifluoromethane.

§See Also

§

R32

Refrigerant R32 – difluoromethane.

§See Also

§

R40

Refrigerant R40 – chloromethane.

§See Also

§

R41

Refrigerant R41 – fluoromethane.

§See Also

§

R50

Refrigerant R50 – methane.

§See Also

§

R113

Refrigerant R113 – 1,1,2-trichloro-1,2,2-trifluoroethane.

§See Also

§

R114

Refrigerant R114 – 1,2-dichloro-1,1,2,2-tetrafluoroethane.

§See Also

§

R115

Refrigerant R115 – chloropentafluoroethane.

§See Also

§

R116

Refrigerant R116 – hexafluoroethane.

§See Also

§

R123

Refrigerant R123 – 2,2-dichloro-1,1,1-trifluoroethane.

§See Also

§

R124

Refrigerant R124 – 2-chloro-1,1,1,2-tetrafluoroethane.

§See Also

§

R125

Refrigerant R125 – pentafluoroethane.

§See Also

§

R134a

Refrigerant R134a – 1,1,1,2-tetrafluoroethane.

§See Also

§

R141b

Refrigerant R141b – 1,1-dichloro-1-fluoroethane.

§See Also

§

R142b

Refrigerant R142b – 1-chloro-1,1-difluoroethane.

§See Also

§

R143a

Refrigerant R143a – 1,1,1-trifluoroethane.

§See Also

§

RE143a

Refrigerant RE143a – trifluoromethyl methyl ether.

§See Also

§

R152a

Refrigerant R152a – 1,1-difluoroethane.

§See Also

§

R161

Refrigerant R161 – fluoroethane.

§See Also

§

R170

Refrigerant R170 – ethane.

§See Also

§

R218

Refrigerant R218 – octafluoropropane.

§See Also

§

R227ea

Refrigerant R227ea – 1,1,1,2,3,3,3-heptafluoropropane.

§See Also

§

R236ea

Refrigerant R236ea – 1,1,1,2,3,3-hexafluoropropane.

§See Also

§

R236fa

Refrigerant R236fa – 1,1,1,3,3,3-hexafluoropropane.

§See Also

§

R245ca

Refrigerant R245ca – 1,1,2,2,3-pentafluoropropane.

§See Also

§

R245fa

Refrigerant R245fa – 1,1,1,3,3-pentafluoropropane.

§See Also

§

R290

Refrigerant R290 – n-propane.

§See Also

§

RC318

Refrigerant RC318 – octafluorocyclobutane.

§See Also

§

R365mfc

Refrigerant R365mfc – 1,1,1,3,3-pentafluorobutane.

§See Also

§

R404A

Pseudo-pure refrigerant blend R404A.

§See Also

§

R407C

Pseudo-pure refrigerant blend R407C.

§See Also

§

R410A

Pseudo-pure refrigerant blend R410A.

§See Also

§

R507A

Pseudo-pure refrigerant blend R507A.

§See Also

§

R600

Refrigerant R600 – n-butane.

§See Also

§

R600a

Refrigerant R600a – isobutane.

§See Also

§

R601

Refrigerant R601 – n-pentane.

§See Also

§

R601a

Refrigerant R601a – isopentane.

§See Also

§

R702

Refrigerant R702 – hydrogen.

§See Also

§

R704

Refrigerant R704 – helium.

§See Also

§

R717

Refrigerant R717 – ammonia.

§See Also

§

R718

Refrigerant R718 – water.

§See Also

§

R720

Refrigerant R720 – neon.

§See Also

§

R728

Refrigerant R728 – nitrogen.

§See Also

§

R729

Refrigerant R729 – air.

§See Also

§

R732

Refrigerant R732 – oxygen.

§See Also

§

R740

Refrigerant R740 – argon.

§See Also

§

R744

Refrigerant R744 – carbon dioxide.

§See Also

§

R764

Refrigerant R764 – sulfur dioxide.

§See Also

§

R846

Refrigerant R846 – sulfur hexafluoride.

§See Also

§

R1123

Refrigerant R1123 – trifluoroethylene.

§See Also

§

R1130E

Refrigerant R1130(E) – trans-1,2-dichloroethene.

§See Also

§

R1132E

Refrigerant R1132(E) – trans-1,2-difluoroethene.

§See Also

§

R1150

Refrigerant R1150 – ethylene.

§See Also

§

R1224ydZ

Refrigerant R1224yd(Z) – cis-1-chloro-2,3,3,3-tetrafluoro-1-propene.

§See Also

§

R1233zdE

Refrigerant R1233zd(E) – trans-1-chloro-3,3,3-trifluoropropene.

§See Also

§

R1234yf

Refrigerant R1234yf – 2,3,3,3-tetrafluoropropene.

§See Also

§

R1234zeE

Refrigerant R1234ze(E) – trans-1,3,3,3-tetrafluoropropene.

§See Also

§

R1234zeZ

Refrigerant R1234ze(Z) – cis-1,3,3,3-tetrafluoropropene.

§See Also

§

R1243zf

Refrigerant R1243zf – 3,3,3-trifluoropropene.

§See Also

§

R1270

Refrigerant R1270 – propylene.

§See Also

§

R1336mzzE

Refrigerant R1336mzz(E) – trans-1,1,1,4,4,4-hexafluoro-2-butene.

§See Also

§

R1336mzzZ

Refrigerant R1336mzz(Z) – cis-1,1,1,4,4,4-Hexafluorobutene.

§See Also

§

SulfurDioxide

Sulfur dioxide.

§See Also

§

SulfurHexafluoride

Sulfur hexafluoride.

§See Also

§

Tetrahydrofuran

Tetrahydrofuran.

§See Also

§

Toluene

Toluene.

§See Also

§

trans2Butene

trans-2-Butene.

§See Also

§

VinylChloride

Vinyl chloride.

§See Also

§

Water

Water.

§See Also

§

Xenon

Xenon.

§See Also

Trait Implementations§

Source§

impl AsRef<str> for Pure

Source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for Pure

Source§

fn clone(&self) -> Pure

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Pure

Source§

impl Debug for Pure

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl DefaultBackend for Pure

Source§

fn default_backend(&self) -> Backend

Returns default CoolProp backend for this Substance. Read more
Source§

impl Eq for Pure

Source§

impl<'_derivative_strum> From<&'_derivative_strum Pure> for &'static str

Source§

fn from(x: &'_derivative_strum Pure) -> &'static str

Converts to this type from the input type.
Source§

impl From<Pure> for Fluid<Undefined>

Source§

fn from(value: Pure) -> Self

Creates and returns a new Fluid instance with Undefined state variant from Pure.

If you need advanced control over backend selection, consider using Fluid::builder.

§Examples
use rfluids::prelude::*;

let water = Fluid::from(Pure::Water);
§See Also
Source§

impl From<Pure> for &'static str

Source§

fn from(x: Pure) -> &'static str

Converts to this type from the input type.
Source§

impl From<Pure> for Substance

Source§

fn from(value: Pure) -> Self

Converts to this type from the input type.
Source§

impl FromStr for Pure

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Pure, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Pure

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Pure

Source§

fn eq(&self, other: &Pure) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Pure

Source§

impl TryFrom<&str> for Pure

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<Pure, <Self as TryFrom<&str>>::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.