Struct globset::Candidate [] [src]

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

A candidate path for matching.

All glob matching in this crate operates on Candidate values. Constructing candidates has a very small cost associated with it, so callers may find it beneficial to amortize that cost when matching a single path against multiple globs or sets of globs.

Methods

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

Create a new candidate for matching from the given path.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.