pub struct GlobOptions {
pub dotglob: bool,
pub nocaseglob: bool,
pub globstar: bool,
pub extglob: bool,
}Expand description
Options that modify glob expansion behavior.
Fields§
§dotglob: boolInclude dot-files even when the pattern doesn’t start with ..
nocaseglob: boolUse case-insensitive matching for filenames.
globstar: boolTreat ** as recursive directory match (globstar).
When false, ** is treated as *.
extglob: boolEnable extended glob patterns: @(...), +(...), *(...), ?(...), !(...).
Trait Implementations§
Source§impl Clone for GlobOptions
impl Clone for GlobOptions
Source§fn clone(&self) -> GlobOptions
fn clone(&self) -> GlobOptions
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 Debug for GlobOptions
impl Debug for GlobOptions
Source§impl Default for GlobOptions
impl Default for GlobOptions
Source§fn default() -> GlobOptions
fn default() -> GlobOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GlobOptions
impl RefUnwindSafe for GlobOptions
impl Send for GlobOptions
impl Sync for GlobOptions
impl Unpin for GlobOptions
impl UnsafeUnpin for GlobOptions
impl UnwindSafe for GlobOptions
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