pub struct ReportData {
pub context_start_line: usize,
pub context_start_offset: usize,
pub line: usize,
pub offset: usize,
pub column: usize,
pub reason: String,
pub unexpected_eof: bool,
}
Fields§
§context_start_line: usize
§context_start_offset: usize
§line: usize
§offset: usize
§column: usize
§reason: String
§unexpected_eof: bool
Trait Implementations§
Source§impl Clone for ReportData
impl Clone for ReportData
Source§fn clone(&self) -> ReportData
fn clone(&self) -> ReportData
Returns a copy 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 ReportData
impl Debug for ReportData
Source§impl PartialEq for ReportData
impl PartialEq for ReportData
impl StructuralPartialEq for ReportData
Auto Trait Implementations§
impl Freeze for ReportData
impl RefUnwindSafe for ReportData
impl Send for ReportData
impl Sync for ReportData
impl Unpin for ReportData
impl UnwindSafe for ReportData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)