Struct globset::Glob [] [src]

pub struct Glob { /* fields omitted */ }

Glob represents a successfully parsed shell glob pattern.

It cannot be used directly to match file paths, but it can be converted to a regular expression string or a matcher.

Methods

impl Glob
[src]

[src]

Builds a new pattern with default options.

[src]

Returns a matcher for this pattern.

[src]

Returns the original glob pattern used to build this pattern.

[src]

Returns the regular expression string for this glob.

Trait Implementations

impl Clone for Glob
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Glob
[src]

[src]

Formats the value using the given formatter.

impl Eq for Glob
[src]

impl PartialEq for Glob
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Hash for Glob
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for Glob
[src]

[src]

Formats the value using the given formatter. Read more