Enum quick_xml::Event [] [src]

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

Event to interprete node as they are parsed

Variants

Start

Start tag (with attributes) <...>

End

End tag </...>

Empty

Empty element tag (with attributes) <.../>

Text

Data between Start and End element

Comment

Comment <!-- ... -->

CData

CData <![CDATA[...]]>

Decl

Xml declaration <?xml ...?>

PI

Processing instruction <?...?>

DocType

Doctype <!DOCTYPE...>

Methods

impl Event
[src]

fn element(&self) -> &Element

returns inner Element for the event

Trait Implementations

Derived Implementations

impl Debug for Event
[src]

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

Formats the value using the given formatter.

impl Clone for Event
[src]

fn clone(&self) -> Event

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more