Struct core::str::pattern::MultiCharEqPattern
source · struct MultiCharEqPattern<C: MultiCharEq>(C);
🔬This is a nightly-only experimental API. (
pattern
#27721)Tuple Fields§
§0: C
🔬This is a nightly-only experimental API. (
pattern
#27721)Trait Implementations§
source§impl<'a, C: MultiCharEq> Pattern<'a> for MultiCharEqPattern<C>
impl<'a, C: MultiCharEq> Pattern<'a> for MultiCharEqPattern<C>
§type Searcher = MultiCharEqSearcher<'a, C>
type Searcher = MultiCharEqSearcher<'a, C>
🔬This is a nightly-only experimental API. (
pattern
#27721)Associated searcher for this pattern
source§fn into_searcher(self, haystack: &'a str) -> MultiCharEqSearcher<'a, C>
fn into_searcher(self, haystack: &'a str) -> MultiCharEqSearcher<'a, C>
🔬This is a nightly-only experimental API. (
pattern
#27721)Constructs the associated searcher from
self
and the haystack
to search in.source§fn is_contained_in(self, haystack: &'a str) -> bool
fn is_contained_in(self, haystack: &'a str) -> bool
🔬This is a nightly-only experimental API. (
pattern
#27721)Checks whether the pattern matches anywhere in the haystack
Auto Trait Implementations§
impl<C> Freeze for MultiCharEqPattern<C>where C: Freeze,
impl<C> RefUnwindSafe for MultiCharEqPattern<C>where C: RefUnwindSafe,
impl<C> Send for MultiCharEqPattern<C>where C: Send,
impl<C> Sync for MultiCharEqPattern<C>where C: Sync,
impl<C> Unpin for MultiCharEqPattern<C>where C: Unpin,
impl<C> UnwindSafe for MultiCharEqPattern<C>where C: 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