pub struct Parsed {
pub document: Document,
pub encoding: &'static Encoding,
pub confidence: Confidence,
}Expand description
A document parsed from bytes, and how its encoding was decided.
Fields§
§document: Document§encoding: &'static EncodingThe encoding the document was decoded with: what JavaScript’s
document.characterSet would say.
confidence: ConfidenceAuto Trait Implementations§
impl !Freeze for Parsed
impl Forget for Parsed
impl Move for Parsed
impl RefUnwindSafe for Parsedwhere
OnceLock<Lines>: RefUnwindSafe,
impl Send for Parsed
impl Sync for Parsed
impl Unpin for Parsed
impl UnsafeUnpin for Parsedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Attr>: UnsafeUnpin,
*const Positions is !null: UnsafeUnpin,
PhantomData<Positions>: UnsafeUnpin,
PhantomData<(u32, u32)>: UnsafeUnpin,
PhantomData<(u32, Vec<u32>)>: UnsafeUnpin,
PhantomData<SyntaxError>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
Align4<u32>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
PhantomData<Lines>: UnsafeUnpin,
&'static Encoding: UnsafeUnpin,
impl UnwindSafe for Parsedwhere
RawVecInner: UnwindSafe,
BoxRaw<Positions>: UnwindSafe,
HashMap<u32, u32>: UnwindSafe,
HashMap<u32, Vec<u32>>: UnwindSafe,
&'static str: UnwindSafe,
OnceLock<Lines>: UnwindSafe,
&'static Encoding: UnwindSafe,
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