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