pub struct Malformed {
pub offset: usize,
pub why: Why,
}Expand description
Where the document stops being well formed: the offset, in characters from the start of the document, of the first character in error, or of its end.
Fields§
§offset: usize§why: WhyTrait Implementations§
impl Copy for Malformed
impl Eq for Malformed
impl StructuralPartialEq for Malformed
Auto Trait Implementations§
impl Freeze for Malformed
impl RefUnwindSafe for Malformed
impl Send for Malformed
impl Sync for Malformed
impl Unpin for Malformed
impl UnsafeUnpin for Malformed
impl UnwindSafe for Malformed
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