Struct core::str::iter::SplitInternal
source · pub(super) struct SplitInternal<'a, P: Pattern<'a>> {
pub(super) start: usize,
pub(super) end: usize,
pub(super) matcher: P::Searcher,
pub(super) allow_trailing_empty: bool,
pub(super) finished: bool,
}
Fields§
§start: usize
§end: usize
§matcher: P::Searcher
§allow_trailing_empty: bool
§finished: bool
Implementations§
source§impl<'a, P: Pattern<'a>> SplitInternal<'a, P>
impl<'a, P: Pattern<'a>> SplitInternal<'a, P>
fn get_end(&mut self) -> Option<&'a str>
fn next(&mut self) -> Option<&'a str>
fn next_inclusive(&mut self) -> Option<&'a str>
fn next_back(&mut self) -> Option<&'a str>where P::Searcher: ReverseSearcher<'a>,
fn next_back_inclusive(&mut self) -> Option<&'a str>where P::Searcher: ReverseSearcher<'a>,
fn remainder(&self) -> Option<&'a str>
Trait Implementations§
Auto Trait Implementations§
impl<'a, P> Freeze for SplitInternal<'a, P>where <P as Pattern<'a>>::Searcher: Freeze,
impl<'a, P> RefUnwindSafe for SplitInternal<'a, P>where <P as Pattern<'a>>::Searcher: RefUnwindSafe,
impl<'a, P> Send for SplitInternal<'a, P>where <P as Pattern<'a>>::Searcher: Send,
impl<'a, P> Sync for SplitInternal<'a, P>where <P as Pattern<'a>>::Searcher: Sync,
impl<'a, P> Unpin for SplitInternal<'a, P>where <P as Pattern<'a>>::Searcher: Unpin,
impl<'a, P> UnwindSafe for SplitInternal<'a, P>where <P as Pattern<'a>>::Searcher: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more