pub struct Match {
pub start_pos: usize,
pub end_pos: usize,
}
Expand description
Start and end positions of a matched substring.
Fields§
§start_pos: usize
Start position (counting from zero).
end_pos: usize
One-past-end position (counting from zero).
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnwindSafe for Match
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