pub struct CaptureSpan {
pub start: usize,
pub end: usize,
}Expand description
One completed tagged capture, expressed in subject-symbol offsets.
Fields§
§start: usizeInclusive start offset.
end: usizeExclusive end offset.
Trait Implementations§
Source§impl Clone for CaptureSpan
impl Clone for CaptureSpan
Source§fn clone(&self) -> CaptureSpan
fn clone(&self) -> CaptureSpan
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 moreimpl Copy for CaptureSpan
Source§impl Debug for CaptureSpan
impl Debug for CaptureSpan
impl Eq for CaptureSpan
Source§impl PartialEq for CaptureSpan
impl PartialEq for CaptureSpan
impl StructuralPartialEq for CaptureSpan
Auto Trait Implementations§
impl Freeze for CaptureSpan
impl RefUnwindSafe for CaptureSpan
impl Send for CaptureSpan
impl Sync for CaptureSpan
impl Unpin for CaptureSpan
impl UnsafeUnpin for CaptureSpan
impl UnwindSafe for CaptureSpan
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