Struct filters::ops::and::And
[−]
[src]
#[must_use = "filters are lazy and do nothing unless consumed"]pub struct And<T, U>(_, _);
Methods
impl<T, U> And<T, U>
[src]
Trait Implementations
impl<T: Clone, U: Clone> Clone for And<T, U>
[src]
fn clone(&self) -> And<T, U>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<I, T: Filter<I>, U: Filter<I>> Filter<I> for And<T, U>
[src]
fn filter(&self, e: &I) -> bool
[src]
The function which is used to filter something
fn not(self) -> Not<Self> where
Self: Sized,
[src]
Self: Sized,
Helper to invert a filter. Read more
fn or<F>(self, other: F) -> Or<Self, F::IntoFilt> where
Self: Sized,
F: IntoFilter<N> + Sized,
[src]
Self: Sized,
F: IntoFilter<N> + Sized,
Helper to connect two filters via logical OR Read more
fn or_not<F>(self, other: F) -> Or<Self, Not<F::IntoFilt>> where
Self: Sized,
F: IntoFilter<N> + Sized,
[src]
Self: Sized,
F: IntoFilter<N> + Sized,
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::IntoFilt, F2::IntoFilt>> where
Self: Sized,
F: IntoFilter<N> + Sized,
F2: IntoFilter<N> + Sized,
[src]
self,
other: F,
other2: F2
) -> Or<Self, Or<F::IntoFilt, F2::IntoFilt>> where
Self: Sized,
F: IntoFilter<N> + Sized,
F2: IntoFilter<N> + Sized,
Helper to connect three filters via logical OR Read more
fn nor<F>(self, other: F) -> Not<Or<Self, F>> where
Self: Sized,
[src]
Self: Sized,
Helper to connect two filters via logical NOR Read more
fn xor<F>(self, other: F) -> XOr<Self, F> where
Self: Sized,
[src]
Self: Sized,
Helper to connect two filters via logical XOR Read more
fn and<F>(self, other: F) -> And<Self, F::IntoFilt> where
Self: Sized,
F: IntoFilter<N> + Sized,
[src]
Self: Sized,
F: IntoFilter<N> + Sized,
Helper to connect two filters via logical AND Read more
fn and3<F, F2>(
self,
other: F,
other2: F2
) -> And<Self, And<F::IntoFilt, F2::IntoFilt>> where
Self: Sized,
F: IntoFilter<N> + Sized,
F2: IntoFilter<N> + Sized,
[src]
self,
other: F,
other2: F2
) -> And<Self, And<F::IntoFilt, F2::IntoFilt>> where
Self: Sized,
F: IntoFilter<N> + Sized,
F2: IntoFilter<N> + Sized,
Helper to connect three filters via logical AND Read more
fn and_not<F>(self, other: F) -> And<Self, Not<F::IntoFilt>> where
Self: Sized,
F: IntoFilter<N> + Sized,
[src]
Self: Sized,
F: IntoFilter<N> + Sized,
Helper to connect two filters via logical AND and NOT Read more
fn nand<F>(self, other: F) -> Not<And<Self, F>> where
Self: Sized,
[src]
Self: Sized,
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
Self: Sized,
M: Fn(&T) -> N,
B: Borrow<O> + Sized,
[src]
Self: Sized,
M: Fn(&T) -> N,
B: Borrow<O> + Sized,
Helper to transform the input of a filter Read more
fn into_failable(self) -> IntoFailable<Self> where
Self: Sized,
[src]
Self: Sized,
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