Struct rslint_core::RuleResult [−][src]
pub struct RuleResult {
pub diagnostics: Vec<Diagnostic>,
pub fixer: Option<Fixer>,
}
Expand description
The result of running a single rule on a syntax tree.
Fields
diagnostics: Vec<Diagnostic>
fixer: Option<Fixer>
Implementations
Make a new rule result with diagnostics and an optional fixer.
Merge two results, this will join self
and other
’s diagnostics and take
self
’s fixer if available or otherwise take other
’s fixer
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RuleResult
impl Send for RuleResult
impl Sync for RuleResult
impl Unpin for RuleResult
impl UnwindSafe for RuleResult
Blanket Implementations
Mutably borrows from an owned value. Read more
Whether this implementor has acknowledged the 1.1.0 update to
unerase
’s documented implementation requirements. Read more