[−][src]Struct libimagentryfilter::tags::HasAnyTags
Check whether an Entry has any of these tags
Methods
impl HasAnyTags
[src]
pub fn new(tags: Vec<Tag>) -> HasAnyTags
[src]
Trait Implementations
impl Filter<Entry> for HasAnyTags
[src]
fn filter(&self, e: &Entry) -> bool
[src]
fn not(self) -> Not<Self>
[src]
Helper to invert a filter. Read more
fn or<F>(self, other: F) -> Or<Self, <F as IntoFilter<N>>::IntoFilt> where
F: IntoFilter<N>,
[src]
F: IntoFilter<N>,
Helper to connect two filters via logical OR Read more
fn or_not<F>(self, other: F) -> Or<Self, Not<<F as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
[src]
F: IntoFilter<N>,
Helper to connect two filters via logical OR and NOT Read more
fn or3<F, F2>(
self,
other: F,
other2: F2
) -> Or<Self, Or<<F as IntoFilter<N>>::IntoFilt, <F2 as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
F2: IntoFilter<N>,
[src]
self,
other: F,
other2: F2
) -> Or<Self, Or<<F as IntoFilter<N>>::IntoFilt, <F2 as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
F2: IntoFilter<N>,
Helper to connect three filters via logical OR Read more
fn nor<F>(self, other: F) -> Not<Or<Self, F>>
[src]
Helper to connect two filters via logical NOR Read more
fn xor<F>(self, other: F) -> XOr<Self, F>
[src]
Helper to connect two filters via logical XOR Read more
fn and<F>(self, other: F) -> And<Self, <F as IntoFilter<N>>::IntoFilt> where
F: IntoFilter<N>,
[src]
F: IntoFilter<N>,
Helper to connect two filters via logical AND Read more
fn and3<F, F2>(
self,
other: F,
other2: F2
) -> And<Self, And<<F as IntoFilter<N>>::IntoFilt, <F2 as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
F2: IntoFilter<N>,
[src]
self,
other: F,
other2: F2
) -> And<Self, And<<F as IntoFilter<N>>::IntoFilt, <F2 as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
F2: IntoFilter<N>,
Helper to connect three filters via logical AND Read more
fn and_not<F>(self, other: F) -> And<Self, Not<<F as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
[src]
F: IntoFilter<N>,
Helper to connect two filters via logical AND and NOT Read more
fn nand<F>(self, other: F) -> Not<And<Self, F>>
[src]
Helper to connect two filters via logical NAND Read more
fn map_input<O, B, T, M>(self, map: M) -> MapInput<Self, M, O, B> where
B: Borrow<O>,
M: Fn(&T) -> N,
[src]
B: Borrow<O>,
M: Fn(&T) -> N,
Helper to transform the input of a filter Read more
fn into_failable(self) -> IntoFailable<Self>
[src]
Helper to transform a filter into a FailableFilter Read more
fn as_failable<'a>(&'a self) -> AsFailable<'a, Self> where
Self: 'a,
[src]
Self: 'a,
Helper to borrow a filter as a FailbleFilter Read more
Auto Trait Implementations
impl Send for HasAnyTags
impl Sync for HasAnyTags
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<N, I> IntoFilter for I where
I: Filter<N>,
[src]
I: Filter<N>,
type IntoFilt = I
fn into_filter(self) -> I
[src]
impl<I, T> Filter for T where
T: Fn(&I) -> bool,
[src]
T: Fn(&I) -> bool,
fn filter(&self, other: &I) -> bool
[src]
fn not(self) -> Not<Self>
[src]
Helper to invert a filter. Read more
fn or<F>(self, other: F) -> Or<Self, <F as IntoFilter<N>>::IntoFilt> where
F: IntoFilter<N>,
[src]
F: IntoFilter<N>,
Helper to connect two filters via logical OR Read more
fn or_not<F>(self, other: F) -> Or<Self, Not<<F as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
[src]
F: IntoFilter<N>,
Helper to connect two filters via logical OR and NOT Read more
fn or3<F, F2>(
self,
other: F,
other2: F2
) -> Or<Self, Or<<F as IntoFilter<N>>::IntoFilt, <F2 as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
F2: IntoFilter<N>,
[src]
self,
other: F,
other2: F2
) -> Or<Self, Or<<F as IntoFilter<N>>::IntoFilt, <F2 as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
F2: IntoFilter<N>,
Helper to connect three filters via logical OR Read more
fn nor<F>(self, other: F) -> Not<Or<Self, F>>
[src]
Helper to connect two filters via logical NOR Read more
fn xor<F>(self, other: F) -> XOr<Self, F>
[src]
Helper to connect two filters via logical XOR Read more
fn and<F>(self, other: F) -> And<Self, <F as IntoFilter<N>>::IntoFilt> where
F: IntoFilter<N>,
[src]
F: IntoFilter<N>,
Helper to connect two filters via logical AND Read more
fn and3<F, F2>(
self,
other: F,
other2: F2
) -> And<Self, And<<F as IntoFilter<N>>::IntoFilt, <F2 as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
F2: IntoFilter<N>,
[src]
self,
other: F,
other2: F2
) -> And<Self, And<<F as IntoFilter<N>>::IntoFilt, <F2 as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
F2: IntoFilter<N>,
Helper to connect three filters via logical AND Read more
fn and_not<F>(self, other: F) -> And<Self, Not<<F as IntoFilter<N>>::IntoFilt>> where
F: IntoFilter<N>,
[src]
F: IntoFilter<N>,
Helper to connect two filters via logical AND and NOT Read more
fn nand<F>(self, other: F) -> Not<And<Self, F>>
[src]
Helper to connect two filters via logical NAND Read more
fn map_input<O, B, T, M>(self, map: M) -> MapInput<Self, M, O, B> where
B: Borrow<O>,
M: Fn(&T) -> N,
[src]
B: Borrow<O>,
M: Fn(&T) -> N,
Helper to transform the input of a filter Read more
fn into_failable(self) -> IntoFailable<Self>
[src]
Helper to transform a filter into a FailableFilter Read more
fn as_failable<'a>(&'a self) -> AsFailable<'a, Self> where
Self: 'a,
[src]
Self: 'a,
Helper to borrow a filter as a FailbleFilter Read more