pub struct Match {
pub start: usize,
pub end: usize,
pub captures: Captures,
}Expand description
One successful match.
Fields§
§start: usizeByte-independent character offsets; the caller turns them into string slices.
end: usizeExclusive end of the match.
captures: CapturesGroup captures, indexed like Captures.
Auto Trait Implementations§
impl Forget for Match
impl Freeze for Match
impl Move for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnsafeUnpin 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