pub struct LinterOptions {
pub ignore_files: Vec<String>,
pub custom_selectors: HashMap<String, String>,
pub max_line_length: Option<usize>,
pub allow_inline_styles: bool,
}
Fields§
§ignore_files: Vec<String>
§custom_selectors: HashMap<String, String>
§max_line_length: Option<usize>
§allow_inline_styles: bool
Trait Implementations§
Source§impl Clone for LinterOptions
impl Clone for LinterOptions
Source§fn clone(&self) -> LinterOptions
fn clone(&self) -> LinterOptions
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 moreSource§impl Debug for LinterOptions
impl Debug for LinterOptions
Source§impl Default for LinterOptions
impl Default for LinterOptions
Source§fn default() -> LinterOptions
fn default() -> LinterOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinterOptions
impl<'de> Deserialize<'de> for LinterOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LinterOptions
impl RefUnwindSafe for LinterOptions
impl Send for LinterOptions
impl Sync for LinterOptions
impl Unpin for LinterOptions
impl UnwindSafe for LinterOptions
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