pub enum Event {
Start(Element),
End(Element),
Empty(Element),
Text(Element),
Comment(Element),
CData(Element),
Decl(XmlDecl),
PI(Element),
DocType(Element),
}
Expand description
Event to interprete node as they are parsed
Variants§
Start(Element)
Start tag (with attributes) <…>
End(Element)
End tag </…>
Empty(Element)
Empty element tag (with attributes) <…/>
Text(Element)
Data between Start and End element
Comment(Element)
Comment
CData(Element)
CData
Decl(XmlDecl)
Xml declaration
PI(Element)
Processing instruction ...?>
DocType(Element)
Doctype <!DOCTYPE…>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)