pub struct And<LHS, RHS> { /* private fields */ }Expand description
AND combinator for two inspections that returns Stop::Yes if both
inspections return Stop::Yes.
An inspection is any implementation of the Inspect trait.
The combinator always calls both inspections even if the first inspection results in a stop indicator that will not change due to the result of the second inspection.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<LHS, RHS> Freeze for And<LHS, RHS>
impl<LHS, RHS> RefUnwindSafe for And<LHS, RHS>where
LHS: RefUnwindSafe,
RHS: RefUnwindSafe,
impl<LHS, RHS> Send for And<LHS, RHS>
impl<LHS, RHS> Sync for And<LHS, RHS>
impl<LHS, RHS> Unpin for And<LHS, RHS>
impl<LHS, RHS> UnsafeUnpin for And<LHS, RHS>where
LHS: UnsafeUnpin,
RHS: UnsafeUnpin,
impl<LHS, RHS> UnwindSafe for And<LHS, RHS>where
LHS: UnwindSafe,
RHS: 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