Skip to main content

XrayDatabase

Struct XrayDatabase 

Source
pub struct XrayDatabase {
Show 14 fields pub version: Vec<VersionRecord>, pub elements: Vec<ElementRecord>, pub xray_levels: Vec<XrayLevelRecord>, pub xray_transitions: Vec<XrayTransitionRecord>, pub coster_kronig: Vec<CosterKronigRecord>, pub photoabsorption: Vec<PhotoabsorptionRecord>, pub scattering: Vec<ScatteringRecord>, pub chantler: Vec<ChantlerRecord>, pub waasmaier: Vec<WaasmaierRecord>, pub compton_energies: ComptonEnergiesRecord, pub keski_rahkonen_krause: Vec<CoreWidthRecord>, pub krause_oliver: Vec<CoreWidthRecord>, pub corelevel_widths: Vec<CoreWidthRecord>, pub ionization_potentials: Vec<IonizationPotentialRecord>,
}
Expand description

The complete XrayDB database, deserialized from the embedded blob.

Fields§

§version: Vec<VersionRecord>

Upstream XrayDB version records.

§elements: Vec<ElementRecord>

One record per element, ordered by atomic number.

§xray_levels: Vec<XrayLevelRecord>

Absorption edges (one row per element and IUPAC level).

§xray_transitions: Vec<XrayTransitionRecord>

Emission lines (one row per element and Siegbahn label).

§coster_kronig: Vec<CosterKronigRecord>

Coster-Kronig transition probabilities.

§photoabsorption: Vec<PhotoabsorptionRecord>

Elam photoabsorption cross-section splines.

§scattering: Vec<ScatteringRecord>

Elam coherent and incoherent scattering splines.

§chantler: Vec<ChantlerRecord>

Chantler anomalous-scattering and attenuation tables.

§waasmaier: Vec<WaasmaierRecord>

Waasmaier-Kirfel f0 coefficients, one row per ion.

§compton_energies: ComptonEnergiesRecord

Tabulated Compton scattering energies.

§keski_rahkonen_krause: Vec<CoreWidthRecord>

Core widths from Keski-Rahkonen & Krause.

§krause_oliver: Vec<CoreWidthRecord>

Core widths from Krause & Oliver (1979).

§corelevel_widths: Vec<CoreWidthRecord>

Merged core widths: KK updated with KO for K, L1, L2, L3.

§ionization_potentials: Vec<IonizationPotentialRecord>

Ion-chamber gas ionization potentials, eV per ion pair.

Trait Implementations§

Source§

impl Debug for XrayDatabase

Source§

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

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

impl<'de> Deserialize<'de> for XrayDatabase

Source§

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 Serialize for XrayDatabase

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

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, 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.