Struct globset::GlobSetBuilder [−][src]
pub struct GlobSetBuilder { /* fields omitted */ }
Expand description
GlobSetBuilder builds a group of patterns that can be used to simultaneously match a file path.
Implementations
Create a new GlobSetBuilder. A GlobSetBuilder can be used to add new
patterns. Once all patterns have been added, build
should be called
to produce a GlobSet
, which can then be used for matching.
Builds a new matcher from all of the glob patterns added so far.
Once a matcher is built, no new patterns can be added to it.
Add a new pattern to this set.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GlobSetBuilder
impl Send for GlobSetBuilder
impl Sync for GlobSetBuilder
impl Unpin for GlobSetBuilder
impl UnwindSafe for GlobSetBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more