pub struct ModuleRegistryRule;Implementations§
Source§impl ModuleRegistryRule
impl ModuleRegistryRule
pub const TESTS_ROOT: &'static str = "tests/"
pub fn new() -> Self
Trait Implementations§
Source§impl Default for ModuleRegistryRule
impl Default for ModuleRegistryRule
Source§impl Rule for ModuleRegistryRule
impl Rule for ModuleRegistryRule
fn name(&self) -> &'static str
fn check(&self, file: &SourceFile) -> Vec<Offence>
fn check_workspace(&self, _files: &[SourceFile]) -> Vec<Offence>
fn requirement(&self) -> Option<&'static str>
fn is_configured(&self) -> bool
Auto Trait Implementations§
impl Freeze for ModuleRegistryRule
impl RefUnwindSafe for ModuleRegistryRule
impl Send for ModuleRegistryRule
impl Sync for ModuleRegistryRule
impl Unpin for ModuleRegistryRule
impl UnsafeUnpin for ModuleRegistryRule
impl UnwindSafe for ModuleRegistryRule
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