pub struct StrSearcher<'a, 'b> { /* private fields */ }🔬This is a nightly-only experimental API. (
pattern #27721)Expand description
Associated type for <&str as Pattern>::Searcher<'a>.
Trait Implementations§
Source§impl<'a, 'b> Clone for StrSearcher<'a, 'b>
impl<'a, 'b> Clone for StrSearcher<'a, 'b>
Source§fn clone(&self) -> StrSearcher<'a, 'b>
fn clone(&self) -> StrSearcher<'a, 'b>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)where
Self:,
fn clone_from(&mut self, source: &Self)where
Self:,
Performs copy-assignment from
source. Read moreSource§impl<'a, 'b> Debug for StrSearcher<'a, 'b>
impl<'a, 'b> Debug for StrSearcher<'a, 'b>
Source§impl<'a, 'b> ReverseSearcher<'a> for StrSearcher<'a, 'b>
impl<'a, 'b> ReverseSearcher<'a> for StrSearcher<'a, 'b>
Source§impl<'a, 'b> Searcher<'a> for StrSearcher<'a, 'b>
impl<'a, 'b> Searcher<'a> for StrSearcher<'a, 'b>
Source§fn haystack(&self) -> &'a str
fn haystack(&self) -> &'a str
🔬This is a nightly-only experimental API. (
pattern #27721)Getter for the underlying string to be searched in Read more