Struct globset::GlobBuilder [] [src]

pub struct GlobBuilder<'a> { /* fields omitted */ }

A builder for a pattern.

This builder enables configuring the match semantics of a pattern. For example, one can make matching case insensitive.

The lifetime 'a refers to the lifetime of the pattern string.

Methods

impl<'a> GlobBuilder<'a>
[src]

[src]

Create a new builder for the pattern given.

The pattern is not compiled until build is called.

[src]

Parses and builds the pattern.

[src]

Toggle whether the pattern matches case insensitively or not.

This is disabled by default.

[src]

Toggle whether a literal / is required to match a path separator.

Trait Implementations

impl<'a> Clone for GlobBuilder<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for GlobBuilder<'a>
[src]

[src]

Formats the value using the given formatter.