pub struct BytesAny<P: Predicate<u8> + ?Sized> { /* private fields */ }Expand description
Checks whether any bytes of the string satisfy the given predicate.
Trait Implementations§
Source§impl<T: AsRef<str> + ?Sized, P: Predicate<u8> + ?Sized> Predicate<T> for BytesAny<P>
impl<T: AsRef<str> + ?Sized, P: Predicate<u8> + ?Sized> Predicate<T> for BytesAny<P>
Auto Trait Implementations§
impl<P> Freeze for BytesAny<P>where
P: ?Sized,
impl<P> RefUnwindSafe for BytesAny<P>where
P: RefUnwindSafe + ?Sized,
impl<P> Send for BytesAny<P>
impl<P> Sync for BytesAny<P>
impl<P> Unpin for BytesAny<P>
impl<P> UnsafeUnpin for BytesAny<P>where
P: ?Sized,
impl<P> UnwindSafe for BytesAny<P>where
P: UnwindSafe + ?Sized,
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, P> PredicateExpected<T> for P
impl<T, P> PredicateExpected<T> for P
Source§fn expected() -> Expected<T, Self>
fn expected() -> Expected<T, Self>
Returns the
Expected<T, Self> value used for formatting.