#[repr(C)]
pub struct Composition {
Show 21 fields pub methane: f64, pub nitrogen: f64, pub carbon_dioxide: f64, pub ethane: f64, pub propane: f64, pub isobutane: f64, pub n_butane: f64, pub isopentane: f64, pub n_pentane: f64, pub hexane: f64, pub heptane: f64, pub octane: f64, pub nonane: f64, pub decane: f64, pub hydrogen: f64, pub oxygen: f64, pub carbon_monoxide: f64, pub water: f64, pub hydrogen_sulfide: f64, pub helium: f64, pub argon: f64,
}

Fields

methane: f64nitrogen: f64carbon_dioxide: f64ethane: f64propane: f64isobutane: f64n_butane: f64isopentane: f64n_pentane: f64hexane: f64heptane: f64octane: f64nonane: f64decane: f64hydrogen: f64oxygen: f64carbon_monoxide: f64water: f64hydrogen_sulfide: f64helium: f64argon: f64

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.