Struct elementtree::WriteOptions
[−]
[src]
pub struct WriteOptions { /* fields omitted */ }
A struct that define write options.
Methods
impl WriteOptions
[src]
fn new() -> WriteOptions
fn set_xml_prolog(self, prolog: Option<XmlProlog>) -> Self
Define which xml prolog will be displayed when rendering an Element.
Note that prolog is optional, an XML document with a missing prolog is well-formed but not valid.
See RFC: W3C XML 26 November 2008
Trait Implementations
impl Default for WriteOptions
[src]
fn default() -> WriteOptions
Returns the "default value" for a type. Read more