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 for Or<T, U>
impl<T: PartialEq, U: PartialEq> PartialEq 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> StructuralPartialEq for Or<T, U>
Auto Trait Implementations§
impl<T, U> Freeze for Or<T, U>
impl<T, U> RefUnwindSafe for Or<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Or<T, U>
impl<T, U> Sync for Or<T, U>
impl<T, U> Unpin for Or<T, U>
impl<T, U> UnwindSafe for Or<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