pub struct Parser<Sink>where
Sink: TreeSink,{
pub tokenizer: Tokenizer<TreeBuilder<Sink::Handle, Sink>>,
pub input_buffer: BufferQueue,
}
Expand description
An HTML parser,
ready to receive Unicode input through the tendril::TendrilSink
trait’s methods.
Fields§
§tokenizer: Tokenizer<TreeBuilder<Sink::Handle, Sink>>
§input_buffer: BufferQueue
Implementations§
Trait Implementations§
source§impl<Sink: TreeSink> TendrilSink<UTF8> for Parser<Sink>
impl<Sink: TreeSink> TendrilSink<UTF8> for Parser<Sink>
Auto Trait Implementations§
impl<Sink> !Freeze for Parser<Sink>
impl<Sink> !RefUnwindSafe for Parser<Sink>
impl<Sink> !Send for Parser<Sink>
impl<Sink> !Sync for Parser<Sink>
impl<Sink> Unpin for Parser<Sink>
impl<Sink> UnwindSafe for Parser<Sink>
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