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
Source§fn clone(&self) -> ScanPathFilter
fn clone(&self) -> ScanPathFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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