pub struct RuleSummary { /* private fields */ }Expand description
Aggregate information rendered once for each rule that emitted diagnostics.
Implementations§
Source§impl RuleSummary
impl RuleSummary
pub const fn rule(&self) -> RuleId
pub const fn total_count(&self) -> usize
pub fn silence_flag(&self) -> &str
Trait Implementations§
Source§impl Clone for RuleSummary
impl Clone for RuleSummary
Source§fn clone(&self) -> RuleSummary
fn clone(&self) -> RuleSummary
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 RuleSummary
impl Debug for RuleSummary
impl Eq for RuleSummary
Source§impl PartialEq for RuleSummary
impl PartialEq for RuleSummary
impl StructuralPartialEq for RuleSummary
Auto Trait Implementations§
impl Freeze for RuleSummary
impl RefUnwindSafe for RuleSummary
impl Send for RuleSummary
impl Sync for RuleSummary
impl Unpin for RuleSummary
impl UnsafeUnpin for RuleSummary
impl UnwindSafe for RuleSummary
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