Struct CharSliceSearcher

struct CharSliceSearcher<'a, 'b>(_)

Associated type for <&[char] as Pattern>::Searcher<'a>.

Implementations

impl<'a, 'b> Clone for CharSliceSearcher<'a, 'b>

fn clone(self: &Self) -> CharSliceSearcher<'a, 'b>

impl<'a, 'b> Debug for CharSliceSearcher<'a, 'b>

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

impl<'a, 'b> DoubleEndedSearcher for CharSliceSearcher<'a, 'b>

impl<'a, 'b> Freeze for CharSliceSearcher<'a, 'b>

impl<'a, 'b> RefUnwindSafe for CharSliceSearcher<'a, 'b>

impl<'a, 'b> ReverseSearcher for CharSliceSearcher<'a, 'b>

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, 'b> Searcher for CharSliceSearcher<'a, 'b>

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, 'b> Send for CharSliceSearcher<'a, 'b>

impl<'a, 'b> Sync for CharSliceSearcher<'a, 'b>

impl<'a, 'b> Unpin for CharSliceSearcher<'a, 'b>

impl<'a, 'b> UnwindSafe for CharSliceSearcher<'a, 'b>

impl<T> Any for CharSliceSearcher<'a, 'b>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for CharSliceSearcher<'a, 'b>

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

impl<T> BorrowMut for CharSliceSearcher<'a, 'b>

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

impl<T> CloneToUninit for CharSliceSearcher<'a, 'b>

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

impl<T> From for CharSliceSearcher<'a, 'b>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for CharSliceSearcher<'a, 'b>

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 CharSliceSearcher<'a, 'b>

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

impl<T, U> TryInto for CharSliceSearcher<'a, 'b>

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