pub struct Any<P>(pub P);Expand description
Predicate that checks if any element satisfies a predicate.
Tuple Fields§
§0: PTrait Implementations§
impl<P> Copy for Any<P>where
P: Copy,
Auto Trait Implementations§
impl<P> Freeze for Any<P>where
P: Freeze,
impl<P> RefUnwindSafe for Any<P>where
P: RefUnwindSafe,
impl<P> Send for Any<P>where
P: Send,
impl<P> Sync for Any<P>where
P: Sync,
impl<P> Unpin for Any<P>where
P: Unpin,
impl<P> UnsafeUnpin for Any<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for Any<P>where
P: 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