Struct globset::Candidate [−][src]
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.
Implementations
impl<'a> Candidate<'a>
[src][−]
pub fn new<P: AsRef<Path> + ?Sized>(path: &'a P) -> Candidate<'a>
[src][−]
Create a new candidate for matching from the given path.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Candidate<'a>
impl<'a> Send for Candidate<'a>
impl<'a> Sync for Candidate<'a>
impl<'a> Unpin for Candidate<'a>
impl<'a> UnwindSafe for Candidate<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,