[−][src]Struct std::str::pattern::CharPredicateSearcher
🔬 This is a nightly-only experimental API. (pattern
#27721)
API not fully fleshed out and ready to be stabilized
Associated type for <F as Pattern<'a>>::Searcher
.
Trait Implementations
impl<'a, F> DoubleEndedSearcher<'a> for CharPredicateSearcher<'a, F> where
F: FnMut(char) -> bool,
[src]
F: FnMut(char) -> bool,
impl<'a, F> ReverseSearcher<'a> for CharPredicateSearcher<'a, F> where
F: FnMut(char) -> bool,
[src]
F: FnMut(char) -> bool,
fn next_back(&mut self) -> SearchStep
[src]
fn next_match_back(&mut self) -> Option<(usize, usize)>
[src]
fn next_reject_back(&mut self) -> Option<(usize, usize)>
[src]
impl<'a, F> Searcher<'a> for CharPredicateSearcher<'a, F> where
F: FnMut(char) -> bool,
[src]
F: FnMut(char) -> bool,
fn haystack(&self) -> &'a str
[src]
fn next(&mut self) -> SearchStep
[src]
fn next_match(&mut self) -> Option<(usize, usize)>
[src]
fn next_reject(&mut self) -> Option<(usize, usize)>
[src]
impl<'_, F> Debug for CharPredicateSearcher<'_, F> where
F: FnMut(char) -> bool,
[src]
F: FnMut(char) -> bool,
impl<'a, F> Clone for CharPredicateSearcher<'a, F> where
F: Clone + FnMut(char) -> bool,
[src]
F: Clone + FnMut(char) -> bool,
fn clone(&self) -> CharPredicateSearcher<'a, F>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<'a, F> UnwindSafe for CharPredicateSearcher<'a, F> where
F: MultiCharEq + UnwindSafe,
F: MultiCharEq + UnwindSafe,
impl<'a, F> RefUnwindSafe for CharPredicateSearcher<'a, F> where
F: MultiCharEq + RefUnwindSafe,
F: MultiCharEq + RefUnwindSafe,
impl<'a, F> Unpin for CharPredicateSearcher<'a, F> where
F: MultiCharEq + Unpin,
F: MultiCharEq + Unpin,
impl<'a, F> Send for CharPredicateSearcher<'a, F> where
F: MultiCharEq + Send,
F: MultiCharEq + Send,
impl<'a, F> Sync for CharPredicateSearcher<'a, F> where
F: MultiCharEq + Sync,
F: MultiCharEq + Sync,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ffn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut F
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,