pub struct ListStyleFatigue {
pub threshold: usize,
pub window: usize,
pub min_emissions: usize,
}Expand description
Detects when the same ListStyle dominates the document’s list-style
emissions. Fires when one style accounts for ≥ threshold of the most
recent window emissions, with a minimum-emissions gate.
Fields§
§threshold: usize§window: usize§min_emissions: usizeTrait Implementations§
Source§impl Clone for ListStyleFatigue
impl Clone for ListStyleFatigue
Source§fn clone(&self) -> ListStyleFatigue
fn clone(&self) -> ListStyleFatigue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListStyleFatigue
impl Debug for ListStyleFatigue
Source§impl Default for ListStyleFatigue
impl Default for ListStyleFatigue
Source§impl Diagnoser for ListStyleFatigue
impl Diagnoser for ListStyleFatigue
fn name(&self) -> &'static str
fn diagnose( &self, document: &RenderedDocument, _profile: Option<&StyleProfile>, ) -> Vec<Diagnostic>
Auto Trait Implementations§
impl Freeze for ListStyleFatigue
impl RefUnwindSafe for ListStyleFatigue
impl Send for ListStyleFatigue
impl Sync for ListStyleFatigue
impl Unpin for ListStyleFatigue
impl UnsafeUnpin for ListStyleFatigue
impl UnwindSafe for ListStyleFatigue
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