Struct CharSliceSearcher
pub struct CharSliceSearcher<'a, 'b>(pub(in ::str::pattern) <MultiCharEqPattern<&'b [char]> as Pattern>::Searcher<'a>);
Associated type for <&[char] as Pattern>::Searcher<'a>.
Fields
0: <MultiCharEqPattern<&'b [char]> as Pattern>::Searcher<'a>
Trait Implementations
impl<'a, 'b> Clone for CharSliceSearcher<'a, 'b>
fn clone(&self) -> CharSliceSearcher<'a, 'b>
impl<'a, 'b> Debug for CharSliceSearcher<'a, 'b>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'a, 'b> DoubleEndedSearcher<'a> for CharSliceSearcher<'a, 'b>
impl<'a, 'b> ReverseSearcher<'a> for CharSliceSearcher<'a, 'b>
fn next_back(&mut self) -> SearchStepfn next_match_back(&mut self) -> Option<(usize, usize)>fn next_reject_back(&mut self) -> Option<(usize, usize)>
impl<'a, 'b> Searcher<'a> for CharSliceSearcher<'a, 'b>
fn haystack(&self) -> &'a strfn next(&mut self) -> SearchStepfn next_match(&mut self) -> Option<(usize, usize)>fn next_reject(&mut self) -> Option<(usize, usize)>
Auto Trait Implementations
impl<'a, 'b> Freeze for CharSliceSearcher<'a, 'b>
impl<'a, 'b> RefUnwindSafe for CharSliceSearcher<'a, 'b>
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> UnsafeUnpin for CharSliceSearcher<'a, 'b>
impl<'a, 'b> UnwindSafe for CharSliceSearcher<'a, 'b>
Blanket Implementations
impl<T> Any for CharSliceSearcher<'a, 'b>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for CharSliceSearcher<'a, 'b>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for CharSliceSearcher<'a, 'b>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for CharSliceSearcher<'a, 'b>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for CharSliceSearcher<'a, 'b>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for CharSliceSearcher<'a, 'b>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for CharSliceSearcher<'a, 'b>
impl<T, U> Into<U> for CharSliceSearcher<'a, 'b>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for CharSliceSearcher<'a, 'b>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for CharSliceSearcher<'a, 'b>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>