[][src]Enum pathpatterns::MatchType

pub enum MatchType {
    Include,
    Exclude,
}

A pattern can be used as an include or an exclude pattern. In a list of MatchEntrys, later patterns take precedence over earlier patterns and the order of includes vs excludes makes a difference.

Variants

Include
Exclude

Implementations

impl MatchType[src]

Convenience helpers

pub fn is_include(self) -> bool[src]

pub fn is_exclude(self) -> bool[src]

Trait Implementations

impl Clone for MatchType[src]

impl Copy for MatchType[src]

impl Debug for MatchType[src]

impl Eq for MatchType[src]

impl Not for MatchType[src]

type Output = MatchType

The resulting type after applying the ! operator.

impl PartialEq<MatchType> for MatchType[src]

impl StructuralEq for MatchType[src]

impl StructuralPartialEq for MatchType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.