pub enum Event<'l> {
Error(Error),
Tag(&'l str, Type, Attributes),
Text(&'l str),
Comment(&'l str),
Declaration(&'l str),
Instruction(&'l str),
}
Expand description
An event.
Variants§
Error(Error)
An error.
Tag(&'l str, Type, Attributes)
A tag.
Text(&'l str)
A text.
Comment(&'l str)
A comment.
Declaration(&'l str)
A declaration.
Instruction(&'l str)
An instruction.