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.
Auto Trait Implementations§
impl Freeze for XML
impl RefUnwindSafe for XML
impl Send for XML
impl Sync for XML
impl Unpin for XML
impl UnwindSafe for XML
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more