Enum quick_xml::Event [] [src]

pub enum Event {
    Start(Element),
    End(Element),
    Text(Element),
    Comment(Element),
    CData(Element),
    Decl(XmlDecl),
    PI(Element),
}

Event to interprete node as they are parsed

Variants

Start(Element)

<...> eventually with attributes

End(Element)

</...>

Text(Element)

Data between Start and End element

Comment(Element)
CData(Element)

<![CDATA[...]]>

Decl(XmlDecl)

Xml declaration <?xml ...?>

PI(Element)

Processing instruction <?...?>

Methods

impl Event
[src]

fn element(&self) -> &Element

returns inner Element for the event

Trait Implementations

impl Debug for Event
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.