Struct CharPredicateSearcher

struct CharPredicateSearcher<'a, F>(_)
where
    F: FnMut(char) -> bool

Associated type for <F as Pattern>::Searcher<'a>.

Implementations

impl<'a, F> Clone for CharPredicateSearcher<'a, F>

fn clone(self: &Self) -> CharPredicateSearcher<'a, F>

impl<'a, F> DoubleEndedSearcher for CharPredicateSearcher<'a, F>

impl<'a, F> Freeze for CharPredicateSearcher<'a, F>

impl<'a, F> RefUnwindSafe for CharPredicateSearcher<'a, F>

impl<'a, F> ReverseSearcher for CharPredicateSearcher<'a, F>

fn next_back(self: &mut Self) -> SearchStep
fn next_match_back(self: &mut Self) -> Option<(usize, usize)>
fn next_reject_back(self: &mut Self) -> Option<(usize, usize)>

impl<'a, F> Searcher for CharPredicateSearcher<'a, F>

fn haystack(self: &Self) -> &'a str
fn next(self: &mut Self) -> SearchStep
fn next_match(self: &mut Self) -> Option<(usize, usize)>
fn next_reject(self: &mut Self) -> Option<(usize, usize)>

impl<'a, F> Send for CharPredicateSearcher<'a, F>

impl<'a, F> Sync for CharPredicateSearcher<'a, F>

impl<'a, F> Unpin for CharPredicateSearcher<'a, F>

impl<'a, F> UnwindSafe for CharPredicateSearcher<'a, F>

impl<F> Debug for CharPredicateSearcher<'_, F>

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl<T> Any for CharPredicateSearcher<'a, F>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for CharPredicateSearcher<'a, F>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for CharPredicateSearcher<'a, F>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for CharPredicateSearcher<'a, F>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for CharPredicateSearcher<'a, F>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for CharPredicateSearcher<'a, F>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for CharPredicateSearcher<'a, F>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for CharPredicateSearcher<'a, F>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>