Struct globset::GlobSet [−][src]
pub struct GlobSet { /* fields omitted */ }
Expand description
GlobSet represents a group of globs that can be matched together in a single pass.
Implementations
Returns true if this set is empty, and therefore matches nothing.
Returns true if any glob in this set matches the path given.
Returns true if any glob in this set matches the path given.
This takes a Candidate as input, which can be used to amortize the cost of preparing a path for matching.
Returns the sequence number of every glob pattern that matches the given path.
Returns the sequence number of every glob pattern that matches the given path.
This takes a Candidate as input, which can be used to amortize the cost of preparing a path for matching.
Adds the sequence number of every glob pattern that matches the given path to the vec given.
into
is cleared before matching begins, and contains the set of
sequence numbers (in ascending order) after matching ends. If no globs
were matched, then into
will be empty.
Adds the sequence number of every glob pattern that matches the given path to the vec given.
into
is cleared before matching begins, and contains the set of
sequence numbers (in ascending order) after matching ends. If no globs
were matched, then into
will be empty.
This takes a Candidate as input, which can be used to amortize the cost of preparing a path for matching.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GlobSet
impl UnwindSafe for GlobSet
Blanket Implementations
Mutably borrows from an owned value. Read more