pub struct Contains<S: TypeStr + ?Sized> { /* private fields */ }Expand description
Checks if the string contains the specified string S.
Implementations§
Trait Implementations§
Source§impl<T: AsRef<str> + ?Sized, S: TypeStr + ?Sized> Predicate<T> for Contains<S>
impl<T: AsRef<str> + ?Sized, S: TypeStr + ?Sized> Predicate<T> for Contains<S>
Auto Trait Implementations§
impl<S> Freeze for Contains<S>where
S: ?Sized,
impl<S> RefUnwindSafe for Contains<S>where
S: RefUnwindSafe + ?Sized,
impl<S> Send for Contains<S>
impl<S> Sync for Contains<S>
impl<S> Unpin for Contains<S>
impl<S> UnsafeUnpin for Contains<S>where
S: ?Sized,
impl<S> UnwindSafe for Contains<S>where
S: 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.