Struct regex::SplitN
pub struct SplitN<'r, 't> { /* fields hidden */ }
Documentation
Yields at most N
substrings delimited by a regular expression match.
The last substring will be whatever remains after splitting.
'r
is the lifetime of the compiled regular expression and 't
is the
lifetime of the string being split.
Trait Implementations
impl<'r, 't> Debug for SplitN<'r, 't>
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<'r, 't> FusedIterator for SplitN<'r, 't>
Auto Trait Implementations
impl<'r, 't> RefUnwindSafe for SplitN<'r, 't>
impl<'r, 't> UnwindSafe for SplitN<'r, 't>
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T