pub struct ExecutionMatch {
pub start: usize,
pub end: usize,
pub captures: BTreeMap<CaptureId, CaptureSpan>,
}Expand description
A successful regular-engine match.
Fields§
§start: usizeInclusive start offset.
end: usizeExclusive end offset.
captures: BTreeMap<CaptureId, CaptureSpan>Captures keyed by their stable compiled identifier.
Trait Implementations§
Source§impl Clone for ExecutionMatch
impl Clone for ExecutionMatch
Source§fn clone(&self) -> ExecutionMatch
fn clone(&self) -> ExecutionMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutionMatch
impl Debug for ExecutionMatch
impl Eq for ExecutionMatch
Source§impl PartialEq for ExecutionMatch
impl PartialEq for ExecutionMatch
impl StructuralPartialEq for ExecutionMatch
Auto Trait Implementations§
impl Freeze for ExecutionMatch
impl RefUnwindSafe for ExecutionMatch
impl Send for ExecutionMatch
impl Sync for ExecutionMatch
impl Unpin for ExecutionMatch
impl UnsafeUnpin for ExecutionMatch
impl UnwindSafe for ExecutionMatch
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