pub struct ParsingDetail<'hdr> {
pub component: &'static str,
pub span_start: usize,
pub span_end: usize,
pub source: &'hdr str,
pub clipped_span: &'hdr str,
pub clipped_remaining: &'hdr str,
}
Expand description
Parsing Detail relating to an Error
Fields§
§component: &'static str
Component
span_start: usize
Span start
span_end: usize
Span end
source: &'hdr str
Source
clipped_span: &'hdr str
Clipped span
clipped_remaining: &'hdr str
Clipped remaining
Trait Implementations§
Source§impl<'hdr> Clone for ParsingDetail<'hdr>
impl<'hdr> Clone for ParsingDetail<'hdr>
Source§fn clone(&self) -> ParsingDetail<'hdr>
fn clone(&self) -> ParsingDetail<'hdr>
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<'hdr> Debug for ParsingDetail<'hdr>
impl<'hdr> Debug for ParsingDetail<'hdr>
Source§impl<'hdr> PartialEq for ParsingDetail<'hdr>
impl<'hdr> PartialEq for ParsingDetail<'hdr>
impl<'hdr> StructuralPartialEq for ParsingDetail<'hdr>
Auto Trait Implementations§
impl<'hdr> Freeze for ParsingDetail<'hdr>
impl<'hdr> RefUnwindSafe for ParsingDetail<'hdr>
impl<'hdr> Send for ParsingDetail<'hdr>
impl<'hdr> Sync for ParsingDetail<'hdr>
impl<'hdr> Unpin for ParsingDetail<'hdr>
impl<'hdr> UnwindSafe for ParsingDetail<'hdr>
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