pub struct Match {
pub start: usize,
pub end: usize,
}Expand description
a single match result, representing a byte-offset range [start, end).
Fields§
§start: usizebyte offset of the start of the match (inclusive).
end: usizebyte offset of the end of the match (exclusive).
Trait Implementations§
impl Copy for Match
impl Eq for Match
impl StructuralPartialEq for Match
Auto Trait Implementations§
impl Freeze 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