Struct tracing_capture::predicates::Or
source · pub struct Or<T, U> { /* private fields */ }
Expand description
Boolean “or” combinator for predicates. Produced by the bitwise or (|
) operator
on the base predicates from this module.
Trait Implementations§
source§impl<Rhs, T, U> BitAnd<Rhs> for Or<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, T, U> BitAnd<Rhs> for Or<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<Rhs, T, U> BitOr<Rhs> for Or<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, T, U> BitOr<Rhs> for Or<T, U>where
Self: PredicateReflection,
Rhs: PredicateReflection,
source§impl<T: PartialEq, U: PartialEq> PartialEq<Or<T, U>> for Or<T, U>
impl<T: PartialEq, U: PartialEq> PartialEq<Or<T, U>> for Or<T, U>
source§impl<T, U, Item: ?Sized> Predicate<Item> for Or<T, U>where
T: Predicate<Item>,
U: Predicate<Item>,
impl<T, U, Item: ?Sized> Predicate<Item> for Or<T, U>where
T: Predicate<Item>,
U: Predicate<Item>,
impl<T: Copy, U: Copy> Copy for Or<T, U>
impl<T: Eq, U: Eq> Eq for Or<T, U>
impl<T, U> StructuralEq for Or<T, U>
impl<T, U> StructuralPartialEq for Or<T, U>
Auto Trait Implementations§
impl<T, U> RefUnwindSafe for Or<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Or<T, U>where
T: Send,
U: Send,
impl<T, U> Sync for Or<T, U>where
T: Sync,
U: Sync,
impl<T, U> Unpin for Or<T, U>where
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for Or<T, U>where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations§
source§impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
source§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