pub struct StepRecord {
pub step: u64,
pub first_index: u64,
pub ions: u64,
pub attempts: u32,
pub max_change: f64,
pub clamped: u32,
pub yields: Yields,
pub removed_slabs: Vec<usize>,
pub recession_m: f64,
pub recession_total_m: f64,
pub re_emitted_m2: BTreeMap<u8, f64>,
}Expand description
What one accepted step did.
Fields§
§step: u64Step number, from 1.
first_index: u64Global index of the first primary of the step.
ions: u64Primaries in the step.
attempts: u32Attempts made at this first_index (1 if never rejected).
max_change: f64Largest relative composition change of the step (see the module docs).
clamped: u32(slab, element) removals that were capped at what the slab held (see
the module docs); 0 for a step that needed no capping.
yields: YieldsEvent counts of the step.
removed_slabs: Vec<usize>Slabs (indices before the step) that emptied and were removed.
recession_m: f64Surface recession of this step, m (0 with erosion off).
recession_total_m: f64Cumulative recession up to and including this step, m (0 with erosion off): add it to a depth of this step to get the depth in the original frame.
re_emitted_m2: BTreeMap<u8, f64>Atoms/m² re-emitted by the retention limit in this step, by atomic number (see the module docs, “Retention limit”); empty with no limit set or nothing in excess.
Trait Implementations§
Source§impl Clone for StepRecord
impl Clone for StepRecord
Source§fn clone(&self) -> StepRecord
fn clone(&self) -> StepRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StepRecord
impl Debug for StepRecord
Source§impl PartialEq for StepRecord
impl PartialEq for StepRecord
impl StructuralPartialEq for StepRecord
Auto Trait Implementations§
impl Freeze for StepRecord
impl RefUnwindSafe for StepRecord
impl Send for StepRecord
impl Sync for StepRecord
impl Unpin for StepRecord
impl UnsafeUnpin for StepRecord
impl UnwindSafe for StepRecord
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
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> ⓘ
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> ⓘ
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