Struct x_lint::runner::LintResults
source · #[non_exhaustive]pub struct LintResults<'l> {
pub skipped: Vec<(LintSource<'l>, SkipReason<'l>)>,
pub messages: Vec<(LintSource<'l>, LintMessage)>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.skipped: Vec<(LintSource<'l>, SkipReason<'l>)>
§messages: Vec<(LintSource<'l>, LintMessage)>
Trait Implementations§
Auto Trait Implementations§
impl<'l> RefUnwindSafe for LintResults<'l>
impl<'l> Send for LintResults<'l>
impl<'l> Sync for LintResults<'l>
impl<'l> Unpin for LintResults<'l>
impl<'l> UnwindSafe for LintResults<'l>
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SafeBorrow<T> for Twhere
T: ?Sized,
impl<T> SafeBorrow<T> for Twhere T: ?Sized,
§fn borrow_replacement(ptr: &T) -> &T
fn borrow_replacement(ptr: &T) -> &T
Given
ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more