pub struct FilePattern {
pub root_dirs: &'static [&'static str],
pub extensions: &'static [&'static str],
pub file_names: &'static [&'static str],
}Expand description
A file pattern specification for matching scan targets.
Fields§
§root_dirs: &'static [&'static str]Root directories to search in.
extensions: &'static [&'static str]File extensions to match.
file_names: &'static [&'static str]Specific file names to match.
Implementations§
Trait Implementations§
Source§impl Clone for FilePattern
impl Clone for FilePattern
Source§fn clone(&self) -> FilePattern
fn clone(&self) -> FilePattern
Returns a duplicate of the value. Read more
1.0.0 · 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 FilePattern
impl RefUnwindSafe for FilePattern
impl Send for FilePattern
impl Sync for FilePattern
impl Unpin for FilePattern
impl UnwindSafe for FilePattern
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