pub struct StaggerAdvance {
pub recovered_at: Option<f64>,
pub grace_ended_at: Option<f64>,
}Expand description
One advance’s boundary crossings; offsets are f64 simulation seconds from
the start of that call, including an exact end-of-step boundary. At most one
of each can occur, in recovery then grace-end order. Zero grace has no
grace-end event. Later reads/zero steps never replay these events.
Fields§
§recovered_at: Option<f64>Stagger ended here; positive grace starts at this exact boundary.
grace_ended_at: Option<f64>Positive grace ended here; new threshold hits can stagger again.
Trait Implementations§
Source§impl Clone for StaggerAdvance
impl Clone for StaggerAdvance
Source§fn clone(&self) -> StaggerAdvance
fn clone(&self) -> StaggerAdvance
Returns a duplicate of the value. Read more
1.0.0 · 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 StaggerAdvance
impl Debug for StaggerAdvance
Source§impl Default for StaggerAdvance
impl Default for StaggerAdvance
Source§fn default() -> StaggerAdvance
fn default() -> StaggerAdvance
Returns the “default value” for a type. Read more
Source§impl PartialEq for StaggerAdvance
impl PartialEq for StaggerAdvance
impl Copy for StaggerAdvance
impl StructuralPartialEq for StaggerAdvance
Auto Trait Implementations§
impl Freeze for StaggerAdvance
impl RefUnwindSafe for StaggerAdvance
impl Send for StaggerAdvance
impl Sync for StaggerAdvance
impl Unpin for StaggerAdvance
impl UnwindSafe for StaggerAdvance
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