Trait swc_css_lints::LintRule
source · pub trait LintRule: Debug + Send + Sync {
// Required method
fn lint_stylesheet(&mut self, stylesheet: &Stylesheet);
}Expand description
Required Methods§
fn lint_stylesheet(&mut self, stylesheet: &Stylesheet)
Implementations on Foreign Types§
source§impl<'a, T: 'a + LintRule + ?Sized> LintRule for &'a mut Twhere
&'a mut T: Debug + Send + Sync,
impl<'a, T: 'a + LintRule + ?Sized> LintRule for &'a mut Twhere &'a mut T: Debug + Send + Sync,
fn lint_stylesheet(&mut self, stylesheet: &Stylesheet)
source§impl<R> LintRule for Vec<R>where
R: LintRule,
impl<R> LintRule for Vec<R>where R: LintRule,
This preserves the order of errors.