pub struct ParseResult {
pub document: Document,
pub errors: Vec<ParseError>,
}Expand description
parse’s return value: the parsed Document tree plus every
WHATWG “parse error” (§13.2.2) encountered along the way. Both fields
together, not a Result — parse errors are never fatal, document
is always complete regardless of how many occurred (see
ParseError’s doc comment).
Fields§
§document: Document§errors: Vec<ParseError>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseResult
impl RefUnwindSafe for ParseResult
impl Send for ParseResult
impl Sync for ParseResult
impl Unpin for ParseResult
impl UnsafeUnpin for ParseResult
impl UnwindSafe for ParseResult
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