pub struct ConnectiveFamilySaturation {
pub max_per_family: usize,
}Expand description
Detects when one connective family (continuation, similarity, contrast)
emits more than its document-scope budget. Per the existing engine
trailing-window cap, each family caps at the size of its pool inside
any FAMILY_WINDOW span; this diagnoser aggregates across the whole
document and fires when the cumulative count exceeds the
max_per_family budget.
Fields§
§max_per_family: usizeTrait Implementations§
Source§impl Clone for ConnectiveFamilySaturation
impl Clone for ConnectiveFamilySaturation
Source§fn clone(&self) -> ConnectiveFamilySaturation
fn clone(&self) -> ConnectiveFamilySaturation
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 ConnectiveFamilySaturation
impl Debug for ConnectiveFamilySaturation
Source§impl Default for ConnectiveFamilySaturation
impl Default for ConnectiveFamilySaturation
Source§impl Diagnoser for ConnectiveFamilySaturation
impl Diagnoser for ConnectiveFamilySaturation
fn name(&self) -> &'static str
fn diagnose( &self, document: &RenderedDocument, _profile: Option<&StyleProfile>, ) -> Vec<Diagnostic>
Auto Trait Implementations§
impl Freeze for ConnectiveFamilySaturation
impl RefUnwindSafe for ConnectiveFamilySaturation
impl Send for ConnectiveFamilySaturation
impl Sync for ConnectiveFamilySaturation
impl Unpin for ConnectiveFamilySaturation
impl UnsafeUnpin for ConnectiveFamilySaturation
impl UnwindSafe for ConnectiveFamilySaturation
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