pub struct LintDetailedReport {
pub summary: LintReport,
pub by_code: Vec<LintCodeBucket>,
}Expand description
Detailed lint report including summary and per-code buckets.
Fields§
§summary: LintReportSeverity summary.
by_code: Vec<LintCodeBucket>Per-code diagnostic counts.
Implementations§
Source§impl LintDetailedReport
impl LintDetailedReport
Sourcepub fn total_from_buckets(&self) -> usize
pub fn total_from_buckets(&self) -> usize
Sum of all per-code counts.
Sourcepub fn is_consistent(&self) -> bool
pub fn is_consistent(&self) -> bool
True when bucket counts are consistent with the summary total.
Trait Implementations§
Source§impl Clone for LintDetailedReport
impl Clone for LintDetailedReport
Source§fn clone(&self) -> LintDetailedReport
fn clone(&self) -> LintDetailedReport
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 LintDetailedReport
impl Debug for LintDetailedReport
Source§impl Default for LintDetailedReport
impl Default for LintDetailedReport
Source§fn default() -> LintDetailedReport
fn default() -> LintDetailedReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for LintDetailedReport
impl PartialEq for LintDetailedReport
Source§fn eq(&self, other: &LintDetailedReport) -> bool
fn eq(&self, other: &LintDetailedReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LintDetailedReport
impl StructuralPartialEq for LintDetailedReport
Auto Trait Implementations§
impl Freeze for LintDetailedReport
impl RefUnwindSafe for LintDetailedReport
impl Send for LintDetailedReport
impl Sync for LintDetailedReport
impl Unpin for LintDetailedReport
impl UnsafeUnpin for LintDetailedReport
impl UnwindSafe for LintDetailedReport
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§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.