Struct sauce::filter::FilterOptions[][src]

pub struct FilterOptions<'a> {
    pub as_: Option<&'a str>,
    pub globs: &'a [MatchOption<'a>],
    pub filters: &'a [MatchOption<'a>],
    pub filter_exclusions: &'a [MatchOption<'a>],
}

Fields

as_: Option<&'a str>globs: &'a [MatchOption<'a>]filters: &'a [MatchOption<'a>]filter_exclusions: &'a [MatchOption<'a>]

Implementations

impl<'a> FilterOptions<'a>[src]

pub fn glob_match(&self, kinds: &[&str], value: &str) -> bool[src]

pub fn filter_match(&self, kinds: &[&str], value: &str) -> bool[src]

pub fn filter_exclude(&self, kinds: &[&str], value: &str) -> bool[src]

Trait Implementations

impl<'a> Clone for FilterOptions<'a>[src]

impl<'a> Debug for FilterOptions<'a>[src]

impl<'a> Default for FilterOptions<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for FilterOptions<'a>

impl<'a> Send for FilterOptions<'a>

impl<'a> Sync for FilterOptions<'a>

impl<'a> Unpin for FilterOptions<'a>

impl<'a> UnwindSafe for FilterOptions<'a>

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.