Expand description
A match.
Fields
start: usize
First byte index.
end: usize
Last byte index + 1.
text: &'t str
The text slice (ie text[start..end]
).
Note that the range is (start..end]
.
Trait Implementations
impl<'t> Eq for Match<'t>
impl<'t> StructuralEq for Match<'t>
impl<'t> StructuralPartialEq for Match<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for Match<'t>
impl<'t> Send for Match<'t>
impl<'t> Sync for Match<'t>
impl<'t> Unpin for Match<'t>
impl<'t> UnwindSafe for Match<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more