Struct quick_xml::XmlWriter [] [src]

pub struct XmlWriter<W: Write> {
    // some fields omitted
}

Xml writer

Consumes a Write and writes xml Events

Methods

impl<W: Write> XmlWriter<W>
[src]

fn new(inner: W) -> XmlWriter<W>

Creates a XmlWriter from a generic Write

fn into_inner(self) -> W

Consumes this Xml Writer, returning the underlying writer.

fn write(&mut self, event: Event) -> Result<()>

Writes the given event to the underlying writer.