pub struct And<T, U> { /* private fields */ }
Expand description
Boolean “and” combinator for predicates. Produced by the bitwise and (&
) operator
on the base predicates from this module.
Trait Implementations§
Source§impl<Rhs, T, U> BitAnd<Rhs> for And<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, T, U> BitAnd<Rhs> for And<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
Source§impl<Rhs, T, U> BitOr<Rhs> for And<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, T, U> BitOr<Rhs> for And<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
Source§impl<T, U, Item: ?Sized> Predicate<Item> for And<T, U>where
T: Predicate<Item>,
U: Predicate<Item>,
impl<T, U, Item: ?Sized> Predicate<Item> for And<T, U>where
T: Predicate<Item>,
U: Predicate<Item>,
impl<T: Copy, U: Copy> Copy for And<T, U>
impl<T: Eq, U: Eq> Eq for And<T, U>
impl<T, U> StructuralPartialEq for And<T, U>
Auto Trait Implementations§
impl<T, U> Freeze for And<T, U>
impl<T, U> RefUnwindSafe for And<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for And<T, U>
impl<T, U> Sync for And<T, U>
impl<T, U> Unpin for And<T, U>
impl<T, U> UnwindSafe for And<T, U>where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
§fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>where
B: Predicate<Item>,
Self: Sized,
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>where
B: Predicate<Item>,
Self: Sized,
Compute the logical AND of two
Predicate
results, returning the result. Read more