pub struct BreakerSnapshot {
pub width: usize,
pub cached_paragraphs: usize,
pub dirty_paragraphs: usize,
pub generation: u64,
pub total_reflows: u64,
pub cache_hits: u64,
pub cache_misses: u64,
}Expand description
Diagnostic snapshot of the incremental breaker state.
Fields§
§width: usizeTarget line width.
cached_paragraphs: usizeNumber of cached paragraph solutions.
dirty_paragraphs: usizeNumber of dirty paragraphs pending reflow.
generation: u64Generation counter.
total_reflows: u64Total reflow operations performed.
cache_hits: u64Total cache hits across all reflows.
cache_misses: u64Total cache misses (recomputations) across all reflows.
Trait Implementations§
Source§impl Clone for BreakerSnapshot
impl Clone for BreakerSnapshot
Source§fn clone(&self) -> BreakerSnapshot
fn clone(&self) -> BreakerSnapshot
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 BreakerSnapshot
impl Debug for BreakerSnapshot
Source§impl PartialEq for BreakerSnapshot
impl PartialEq for BreakerSnapshot
impl Copy for BreakerSnapshot
impl Eq for BreakerSnapshot
impl StructuralPartialEq for BreakerSnapshot
Auto Trait Implementations§
impl Freeze for BreakerSnapshot
impl RefUnwindSafe for BreakerSnapshot
impl Send for BreakerSnapshot
impl Sync for BreakerSnapshot
impl Unpin for BreakerSnapshot
impl UnsafeUnpin for BreakerSnapshot
impl UnwindSafe for BreakerSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.