pub struct TimePoint { /* private fields */ }Expand description
The temporal coordinate associated with one SystemState.
index is always present and provides deterministic ordering, chunk
boundaries, and checkpoint identity. physical optionally records a
finite domain time such as seconds or model time. Time-axis units belong to
SSTS metadata so they are not repeated in every state.
Implementations§
Source§impl TimePoint
impl TimePoint
Sourcepub fn from_physical(index: u64, physical: f64) -> Option<Self>
pub fn from_physical(index: u64, physical: f64) -> Option<Self>
Creates a time point with an optional finite physical coordinate.
Returns None for NaN or either infinity. Negative finite values are
accepted because some scientific coordinate systems use an origin after
the beginning of a simulation or observation.
Trait Implementations§
impl Copy for TimePoint
impl StructuralPartialEq for TimePoint
Auto Trait Implementations§
impl Freeze for TimePoint
impl RefUnwindSafe for TimePoint
impl Send for TimePoint
impl Sync for TimePoint
impl Unpin for TimePoint
impl UnsafeUnpin for TimePoint
impl UnwindSafe for TimePoint
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