Enum broot::pattern::SearchMode[][src]

pub enum SearchMode {
    NameExact,
    NameFuzzy,
    NameRegex,
    PathExact,
    PathFuzzy,
    PathRegex,
    ContentExact,
    ContentRegex,
}

a valid combination of SearchObject and SearchKind, determine how a pattern will be used

Variants

NameExact
NameFuzzy
NameRegex
PathExact
PathFuzzy
PathRegex
ContentExact
ContentRegex

Implementations

impl SearchMode[src]

pub fn object(&self) -> SearchObject[src]

pub fn kind(&self) -> SearchKind[src]

Trait Implementations

impl Clone for SearchMode[src]

impl Copy for SearchMode[src]

impl Debug for SearchMode[src]

impl Eq for SearchMode[src]

impl Hash for SearchMode[src]

impl PartialEq<SearchMode> for SearchMode[src]

impl StructuralEq for SearchMode[src]

impl StructuralPartialEq for SearchMode[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> CallHasher for T where
    T: Hash + ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash
[src]

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

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,