pub struct TrackedSpan(/* private fields */);
Expand description
Span of the tracked item within the original &str
.
Later one can convert this span into the range within the parsed str with
ParsedSpan::resolve()
.
Trait Implementations§
Source§impl Clone for TrackedSpan
impl Clone for TrackedSpan
Source§fn clone(&self) -> TrackedSpan
fn clone(&self) -> TrackedSpan
Returns a duplicate of the value. Read more
1.0.0 · 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 TrackedSpan
impl Debug for TrackedSpan
Source§impl PartialEq for TrackedSpan
impl PartialEq for TrackedSpan
impl Eq for TrackedSpan
impl StructuralPartialEq for TrackedSpan
Auto Trait Implementations§
impl Freeze for TrackedSpan
impl RefUnwindSafe for TrackedSpan
impl Send for TrackedSpan
impl Sync for TrackedSpan
impl Unpin for TrackedSpan
impl UnwindSafe for TrackedSpan
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