pub struct DiscoveryOptions<'a> {
pub file_filter: Option<&'a Regex>,
pub honor_gitignore: bool,
pub explicit_ignore_paths: &'a [PathBuf],
}Expand description
Options controlling recursive CMake file discovery.
Fields§
§file_filter: Option<&'a Regex>Optional regex filter applied after filename/ignore filtering.
honor_gitignore: boolHonor Git ignore files while walking directories.
explicit_ignore_paths: &'a [PathBuf]Additional ignore files loaded explicitly by the user.
Trait Implementations§
Source§impl<'a> Clone for DiscoveryOptions<'a>
impl<'a> Clone for DiscoveryOptions<'a>
Source§fn clone(&self) -> DiscoveryOptions<'a>
fn clone(&self) -> DiscoveryOptions<'a>
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 moreSource§impl<'a> Debug for DiscoveryOptions<'a>
impl<'a> Debug for DiscoveryOptions<'a>
Source§impl<'a> Default for DiscoveryOptions<'a>
impl<'a> Default for DiscoveryOptions<'a>
Source§fn default() -> DiscoveryOptions<'a>
fn default() -> DiscoveryOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for DiscoveryOptions<'a>
impl<'a> RefUnwindSafe for DiscoveryOptions<'a>
impl<'a> Send for DiscoveryOptions<'a>
impl<'a> Sync for DiscoveryOptions<'a>
impl<'a> Unpin for DiscoveryOptions<'a>
impl<'a> UnsafeUnpin for DiscoveryOptions<'a>
impl<'a> UnwindSafe for DiscoveryOptions<'a>
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