pub struct HeaderRule { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Rule for HeaderRule
impl Rule for HeaderRule
fn name(&self) -> &'static str
fn requirement(&self) -> Option<&'static str>
fn is_configured(&self) -> bool
fn check(&self, file: &SourceFile) -> Vec<Offence>
fn check_workspace(&self, _files: &[SourceFile]) -> Vec<Offence>
fn explanation(&self) -> RuleExplanation
Auto Trait Implementations§
impl Freeze for HeaderRule
impl RefUnwindSafe for HeaderRule
impl Send for HeaderRule
impl Sync for HeaderRule
impl Unpin for HeaderRule
impl UnsafeUnpin for HeaderRule
impl UnwindSafe for HeaderRule
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