pub struct LintOptions {
pub severity_threshold: Severity,
pub filename_hint: Option<String>,
}Expand description
Options controlling lint_string and lint_directory.
Fields§
§severity_threshold: SeverityMinimum severity that should fail a lint run (CLI exit code).
filename_hint: Option<String>Filename stem used for semantic checks such as name vs filename.
Trait Implementations§
Source§impl Clone for LintOptions
impl Clone for LintOptions
Source§fn clone(&self) -> LintOptions
fn clone(&self) -> LintOptions
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 LintOptions
impl Debug for LintOptions
Auto Trait Implementations§
impl Freeze for LintOptions
impl RefUnwindSafe for LintOptions
impl Send for LintOptions
impl Sync for LintOptions
impl Unpin for LintOptions
impl UnsafeUnpin for LintOptions
impl UnwindSafe for LintOptions
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