Enum determinator::rules::PathMatch[][src]

pub enum PathMatch {
    RuleMatchedAll,
    RuleMatched(RuleIndex),
    AncestorMatched,
    NoMatches,
}

The result of matching a file path against a determinator.

Returned by Determinator::match_path.

Variants

RuleMatchedAll

The path matched a rule, causing everything to be rebuilt.

RuleMatched(RuleIndex)

The path matched a rule and ancestor-based matching was not followed.

This will not be returned if the matched rule caused ancestor-based matching to happen.

AncestorMatched

The path was matched to a package through inspecting the parent directories of each path.

NoMatches

The path wasn’t matched to a rule or a nearby package, causing everything to be rebuilt.

Trait Implementations

impl Clone for PathMatch[src]

impl Copy for PathMatch[src]

impl Debug for PathMatch[src]

impl Eq for PathMatch[src]

impl PartialEq<PathMatch> for PathMatch[src]

impl StructuralEq for PathMatch[src]

impl StructuralPartialEq for PathMatch[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<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SafeBorrow<T> for T where
    T: ?Sized

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.