Struct alloc::str::pattern::StrSearcher [−][src]
pub struct StrSearcher<'a, 'b> { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (pattern
#27721)
API not fully fleshed out and ready to be stabilized
Associated type for <&str as Pattern<'a>>::Searcher
.
Trait Implementations
impl<'a, 'b> Clone for StrSearcher<'a, 'b>
[src]
impl<'a, 'b> Clone for StrSearcher<'a, 'b>
[src]pub fn clone(&self) -> StrSearcher<'a, 'b>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, 'b> Debug for StrSearcher<'a, 'b>
[src]
impl<'a, 'b> Debug for StrSearcher<'a, 'b>
[src]impl<'a, 'b> ReverseSearcher<'a> for StrSearcher<'a, 'b>
[src]
impl<'a, 'b> ReverseSearcher<'a> for StrSearcher<'a, 'b>
[src]pub fn next_back(&mut self) -> SearchStep
[src]
pub fn next_match_back(&mut self) -> Option<(usize, usize)>
[src]
pub fn next_reject_back(&mut self) -> Option<(usize, usize)>
[src]
impl<'a, 'b> Searcher<'a> for StrSearcher<'a, 'b>
[src]
impl<'a, 'b> Searcher<'a> for StrSearcher<'a, 'b>
[src]pub fn haystack(&self) -> &'a str
[src]
pub fn next(&mut self) -> SearchStep
[src]
pub fn next_match(&mut self) -> Option<(usize, usize)>
[src]
pub fn next_reject(&mut self) -> Option<(usize, usize)>
[src]
Auto Trait Implementations
impl<'a, 'b> Send for StrSearcher<'a, 'b>
impl<'a, 'b> Sync for StrSearcher<'a, 'b>
impl<'a, 'b> Unpin for StrSearcher<'a, 'b>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.