pub struct LintFileReport { /* private fields */ }Expand description
One source file and its lint-command evidence.
Implementations§
Source§impl LintFileReport
impl LintFileReport
Sourcepub fn new(
path: impl Into<String>,
input: InputIdentity,
rig: RigInfo,
checks: Vec<CheckEvaluation>,
measurements: MeasurementContract,
) -> Self
pub fn new( path: impl Into<String>, input: InputIdentity, rig: RigInfo, checks: Vec<CheckEvaluation>, measurements: MeasurementContract, ) -> Self
Construct a lint file report with one record per catalog check.
Sourcepub fn input(&self) -> &InputIdentity
pub fn input(&self) -> &InputIdentity
Immutable identity of the source bytes used to produce this record.
Sourcepub fn checks(&self) -> &[CheckEvaluation]
pub fn checks(&self) -> &[CheckEvaluation]
Check records in catalog order.
Sourcepub fn measurements(&self) -> &MeasurementContract
pub fn measurements(&self) -> &MeasurementContract
Nested measurement evidence.
Trait Implementations§
Source§impl Clone for LintFileReport
impl Clone for LintFileReport
Source§fn clone(&self) -> LintFileReport
fn clone(&self) -> LintFileReport
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 LintFileReport
impl Debug for LintFileReport
Auto Trait Implementations§
impl Freeze for LintFileReport
impl RefUnwindSafe for LintFileReport
impl Send for LintFileReport
impl Sync for LintFileReport
impl Unpin for LintFileReport
impl UnsafeUnpin for LintFileReport
impl UnwindSafe for LintFileReport
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