Struct globset::GlobSetBuilder[][src]

pub struct GlobSetBuilder { /* fields omitted */ }

GlobSetBuilder builds a group of patterns that can be used to simultaneously match a file path.

Methods

impl GlobSetBuilder
[src]

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

impl Clone for GlobSetBuilder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GlobSetBuilder
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations