pub struct CrossSectionTableParts {
pub model: String,
pub material: String,
pub provenance: String,
pub axis: SamplingAxis,
pub energy_ev: Vec<f64>,
pub inverse_mfp_per_m: Vec<f64>,
pub probability: Vec<f64>,
pub quantiles: Vec<Vec<f64>>,
}Expand description
The unvalidated contents of a CrossSectionTable, for
CrossSectionTable::new. See CrossSectionTable for the meaning and
invariants of each field.
Fields§
§model: StringIdentity of the model that produced the table (name and version).
material: StringMaterial identity.
provenance: StringProvenance: the inputs of the model and their origin.
axis: SamplingAxisThe sampled variable.
energy_ev: Vec<f64>Incident electron energies, eV.
inverse_mfp_per_m: Vec<f64>Inverse mean free path at each energy, m⁻¹.
probability: Vec<f64>Cumulative-probability grid of the inverse CDFs.
quantiles: Vec<Vec<f64>>Inverse-CDF ordinates, one row per energy (empty for zero-rate rows).
Trait Implementations§
Source§impl Clone for CrossSectionTableParts
impl Clone for CrossSectionTableParts
Source§fn clone(&self) -> CrossSectionTableParts
fn clone(&self) -> CrossSectionTableParts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CrossSectionTableParts
impl Debug for CrossSectionTableParts
Source§impl PartialEq for CrossSectionTableParts
impl PartialEq for CrossSectionTableParts
impl StructuralPartialEq for CrossSectionTableParts
Auto Trait Implementations§
impl Freeze for CrossSectionTableParts
impl RefUnwindSafe for CrossSectionTableParts
impl Send for CrossSectionTableParts
impl Sync for CrossSectionTableParts
impl Unpin for CrossSectionTableParts
impl UnsafeUnpin for CrossSectionTableParts
impl UnwindSafe for CrossSectionTableParts
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more