Struct tracing_capture::predicates::And
source · 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: PartialEq, U: PartialEq> PartialEq for And<T, U>
impl<T: PartialEq, U: PartialEq> PartialEq for And<T, U>
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
§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