pub struct RegExpStream<'r, 'h, 'p> { /* private fields */ }
Expand description
Repeatedly match in the same haystack using the same regular expression.
Implementations§
Source§impl RegExpStream<'_, '_, '_>
impl RegExpStream<'_, '_, '_>
Sourcepub fn next<'s>(&'s mut self) -> Option<ExecResult<'s, 's>>
pub fn next<'s>(&'s mut self) -> Option<ExecResult<'s, 's>>
Calls RegExp::exec
with this stream’s expression and haystack
Auto Trait Implementations§
impl<'r, 'h, 'p> Freeze for RegExpStream<'r, 'h, 'p>
impl<'r, 'h, 'p> RefUnwindSafe for RegExpStream<'r, 'h, 'p>
impl<'r, 'h, 'p> !Send for RegExpStream<'r, 'h, 'p>
impl<'r, 'h, 'p> !Sync for RegExpStream<'r, 'h, 'p>
impl<'r, 'h, 'p> Unpin for RegExpStream<'r, 'h, 'p>
impl<'r, 'h, 'p> !UnwindSafe for RegExpStream<'r, 'h, 'p>
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