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 T
impl<'a, T: 'a + LintRule + ?Sized> LintRule for &'a mut T
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.