Struct xml_builder::XML
source · pub struct XML { /* private fields */ }
Expand description
Structure representing a XML document. It must be used to create a XML document.
Implementations§
source§impl XML
impl XML
sourcepub fn set_root_element(&mut self, element: XMLElement)
pub fn set_root_element(&mut self, element: XMLElement)
Sets the XML document root element.
Arguments
element
- An XMLElement qualified as root for the XML document.