pub enum Schedule {
Every(u64),
Steps(Vec<u64>),
Interval(f64),
}Expand description
When a TimeDump records a snapshot, in terms of the state index m
(completed steps).
Variants§
Every(u64)
Every state with m % k == 0 (k ≥ 1; 0 is treated as 1).
Steps(Vec<u64>)
The listed states only (any order, duplicates ignored).
Interval(f64)
The first state at or after each multiple of the interval [s] of
the E time m·dt (the same steps for E and H dumps). Non-positive
or non-finite intervals sample every step.
Trait Implementations§
impl StructuralPartialEq for Schedule
Auto Trait Implementations§
impl Freeze for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnsafeUnpin for Schedule
impl UnwindSafe for Schedule
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