pub struct TestNamingRule;Implementations§
Source§impl TestNamingRule
impl TestNamingRule
pub const MINIMUM_PARTS: usize = 3
pub const REGISTRIES: [&'static str; 2]
pub const TESTS_ROOT: &'static str = "tests/"
pub fn new() -> Self
Trait Implementations§
Source§impl Default for TestNamingRule
impl Default for TestNamingRule
Source§impl Rule for TestNamingRule
impl Rule for TestNamingRule
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 TestNamingRule
impl RefUnwindSafe for TestNamingRule
impl Send for TestNamingRule
impl Sync for TestNamingRule
impl Unpin for TestNamingRule
impl UnsafeUnpin for TestNamingRule
impl UnwindSafe for TestNamingRule
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