pub struct ExecResult<'h, 'p> {
pub match_slice: &'h str,
pub match_index: usize,
pub match_length: usize,
/* private fields */
}
Expand description
The result of a successful RegExp::exec
call.
Fields§
§match_slice: &'h str
§match_index: usize
§match_length: usize
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'h, 'p> Freeze for ExecResult<'h, 'p>
impl<'h, 'p> RefUnwindSafe for ExecResult<'h, 'p>
impl<'h, 'p> Send for ExecResult<'h, 'p>
impl<'h, 'p> Sync for ExecResult<'h, 'p>
impl<'h, 'p> Unpin for ExecResult<'h, 'p>
impl<'h, 'p> UnwindSafe for ExecResult<'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