struct ExtraCheckArg {
auto: bool,
lang: ExtraCheckLang,
kind: Option<ExtraCheckKind>,
}
Fields§
§auto: bool
§lang: ExtraCheckLang
§kind: Option<ExtraCheckKind>
None = run all extra checks for the given lang
Implementations§
Source§impl ExtraCheckArg
impl ExtraCheckArg
fn matches(&self, lang: ExtraCheckLang, kind: ExtraCheckKind) -> bool
Sourcefn is_non_auto_or_matches(&self, filepath: &str) -> bool
fn is_non_auto_or_matches(&self, filepath: &str) -> bool
Returns false
if this is an auto arg and the passed filename does not trigger the auto rule
fn has_supported_kind(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtraCheckArg
impl RefUnwindSafe for ExtraCheckArg
impl Send for ExtraCheckArg
impl Sync for ExtraCheckArg
impl Unpin for ExtraCheckArg
impl UnwindSafe for ExtraCheckArg
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
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ErasedDestructor for Twhere
T: 'static,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 3 bytes