pub struct SpecRoundsLog {
pub rounds: Vec<SpecRoundProf>,
pub printed: usize,
pub summarized: bool,
}Expand description
The per-session round log behind [spec-prof-rounds] / [spec-prof-summary].
Fields§
§rounds: Vec<SpecRoundProf>§printed: usizeRows already handed to the printer (fresh returns the tail past it).
summarized: boolImplementations§
Source§impl SpecRoundsLog
impl SpecRoundsLog
pub fn wants_more(&self) -> bool
pub fn push(&mut self, r: SpecRoundProf)
Sourcepub fn fresh(&mut self) -> &[SpecRoundProf]
pub fn fresh(&mut self) -> &[SpecRoundProf]
Rows not yet printed; marks them printed.
Trait Implementations§
Source§impl Debug for SpecRoundsLog
impl Debug for SpecRoundsLog
Source§impl Default for SpecRoundsLog
impl Default for SpecRoundsLog
Source§fn default() -> SpecRoundsLog
fn default() -> SpecRoundsLog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SpecRoundsLog
impl RefUnwindSafe for SpecRoundsLog
impl Send for SpecRoundsLog
impl Sync for SpecRoundsLog
impl Unpin for SpecRoundsLog
impl UnsafeUnpin for SpecRoundsLog
impl UnwindSafe for SpecRoundsLog
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