pub struct Defect {
pub offset: usize,
pub msg: &'static str,
}Expand description
A problem found while parsing, kept beside the result.
Fields§
§offset: usize§msg: &'static strTrait Implementations§
impl Eq for Defect
impl StructuralPartialEq for Defect
Auto Trait Implementations§
impl Freeze for Defect
impl RefUnwindSafe for Defect
impl Send for Defect
impl Sync for Defect
impl Unpin for Defect
impl UnsafeUnpin for Defect
impl UnwindSafe for Defect
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