pub struct ScanPathFilter { /* private fields */ }Implementations§
Source§impl ScanPathFilter
impl ScanPathFilter
pub fn for_ignore_tests(ignore_tests: bool) -> Self
pub fn from_scan_config(config: &ScanConfig, ignore_tests: bool) -> Result<Self>
pub const fn ignore_tests(&self) -> bool
pub fn allows_path(&self, root: &Path, path: &Path) -> bool
pub fn summary(&self) -> ScanPathFilterSummary
Trait Implementations§
Source§impl Clone for ScanPathFilter
impl Clone for ScanPathFilter
Auto Trait Implementations§
impl Freeze for ScanPathFilter
impl RefUnwindSafe for ScanPathFilter
impl Send for ScanPathFilter
impl Sync for ScanPathFilter
impl Unpin for ScanPathFilter
impl UnsafeUnpin for ScanPathFilter
impl UnwindSafe for ScanPathFilter
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