pub struct LintConfig {
pub language: LanguageSupport,
pub tool_name: String,
pub command: Vec<String>,
pub args: Vec<String>,
pub severity_levels: HashMap<String, LintSeverity>,
pub enabled: bool,
}
Expand description
Linting tool configuration
Fields§
§language: LanguageSupport
§tool_name: String
§command: Vec<String>
§args: Vec<String>
§severity_levels: HashMap<String, LintSeverity>
§enabled: bool
Implementations§
Trait Implementations§
Source§impl Clone for LintConfig
impl Clone for LintConfig
Source§fn clone(&self) -> LintConfig
fn clone(&self) -> LintConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LintConfig
impl RefUnwindSafe for LintConfig
impl Send for LintConfig
impl Sync for LintConfig
impl Unpin for LintConfig
impl UnwindSafe for LintConfig
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