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