[−][src]Enum pathpatterns::MatchPattern
A pattern entry. For now this only contains glob patterns, but we may want to add regex patterns or user defined callback functions later on as well.
For regex we'd likely use the POSIX extended REs via regexec(3)
, since we're targetting
command line interfaces and want something command line users are used to.
Variants
Pattern(Pattern)
A glob pattern.
A literal match.
Implementations
impl MatchPattern
[src]
Trait Implementations
impl Clone for MatchPattern
[src]
fn clone(&self) -> MatchPattern
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MatchPattern
[src]
impl From<Pattern> for MatchPattern
[src]
Auto Trait Implementations
impl RefUnwindSafe for MatchPattern
impl Send for MatchPattern
impl Sync for MatchPattern
impl Unpin for MatchPattern
impl UnwindSafe for MatchPattern
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,
fn borrow_mut(&mut self) -> &mut T
[src]
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,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,