pub struct CharSearcher<'a> { /* private fields */ }๐ฌThis is a nightly-only experimental API. (
pattern)Expand description
Associated type for <char as Pattern>::Searcher<'a>.
Trait Implementationsยง
Sourceยงimpl<'a> Clone for CharSearcher<'a>
impl<'a> Clone for CharSearcher<'a>
Sourceยงfn clone(&self) -> CharSearcher<'a>
fn clone(&self) -> CharSearcher<'a>
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl<'a> Debug for CharSearcher<'a>
impl<'a> Debug for CharSearcher<'a>
Sourceยงimpl<'a> ReverseSearcher<'a> for CharSearcher<'a>
impl<'a> ReverseSearcher<'a> for CharSearcher<'a>
Sourceยงfn next_back(&mut self) -> SearchStep
fn next_back(&mut self) -> SearchStep
๐ฌThis is a nightly-only experimental API. (
pattern)Performs the next search step starting from the back. Read more
Sourceยงfn next_match_back(&mut self) -> Option<(usize, usize)>
fn next_match_back(&mut self) -> Option<(usize, usize)>
๐ฌThis is a nightly-only experimental API. (
pattern)Finds the next
Match result.
See next_back().Sourceยงfn next_reject_back(&mut self) -> Option<(usize, usize)>
fn next_reject_back(&mut self) -> Option<(usize, usize)>
๐ฌThis is a nightly-only experimental API. (
pattern)Finds the next
Reject result.
See next_back().Sourceยงimpl<'a> Searcher<'a> for CharSearcher<'a>
impl<'a> Searcher<'a> for CharSearcher<'a>
Sourceยงfn haystack(&self) -> &'a str
fn haystack(&self) -> &'a str
๐ฌThis is a nightly-only experimental API. (
pattern)Getter for the underlying string to be searched in Read more
Sourceยงfn next(&mut self) -> SearchStep
fn next(&mut self) -> SearchStep
๐ฌThis is a nightly-only experimental API. (
pattern)Performs the next search step starting from the front. Read more
Sourceยงfn next_match(&mut self) -> Option<(usize, usize)>
fn next_match(&mut self) -> Option<(usize, usize)>
๐ฌThis is a nightly-only experimental API. (
pattern)impl<'a> DoubleEndedSearcher<'a> for CharSearcher<'a>
Auto Trait Implementationsยง
impl<'a> Freeze for CharSearcher<'a>
impl<'a> RefUnwindSafe for CharSearcher<'a>
impl<'a> Send for CharSearcher<'a>
impl<'a> Sync for CharSearcher<'a>
impl<'a> Unpin for CharSearcher<'a>
impl<'a> UnwindSafe for CharSearcher<'a>
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