pub struct TestedPublicApiRule;Implementations§
Source§impl TestedPublicApiRule
impl TestedPublicApiRule
pub const SOURCE_ROOT: &'static str = "src/"
pub const TESTS_ROOT: &'static str = "tests/"
pub fn new() -> Self
Trait Implementations§
Source§impl Default for TestedPublicApiRule
impl Default for TestedPublicApiRule
Source§impl Rule for TestedPublicApiRule
impl Rule for TestedPublicApiRule
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 TestedPublicApiRule
impl RefUnwindSafe for TestedPublicApiRule
impl Send for TestedPublicApiRule
impl Sync for TestedPublicApiRule
impl Unpin for TestedPublicApiRule
impl UnsafeUnpin for TestedPublicApiRule
impl UnwindSafe for TestedPublicApiRule
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