pub struct ParseScratch { /* private fields */ }Expand description
Reusable allocation storage for parsing consecutive documents on one
worker. The parsed Html owns the buffers while it is in use; call
ParseScratch::recycle after all node references have been dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseScratch
impl RefUnwindSafe for ParseScratch
impl Send for ParseScratch
impl Sync for ParseScratch
impl Unpin for ParseScratch
impl UnsafeUnpin for ParseScratch
impl UnwindSafe for ParseScratch
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