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, 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
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