Struct docx_rs::XmlDocument
source · pub struct XmlDocument {
pub data: Vec<XmlData>,
}
Expand description
An XML Document
Fields§
§data: Vec<XmlData>
Data contained within the parsed XML Document
Implementations§
source§impl XmlDocument
impl XmlDocument
pub fn from_reader<R>(source: R, trim: bool) -> Result<Self, ParseXmlError>where
R: Read,
Trait Implementations§
source§impl Clone for XmlDocument
impl Clone for XmlDocument
source§fn clone(&self) -> XmlDocument
fn clone(&self) -> XmlDocument
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for XmlDocument
impl Debug for XmlDocument
source§impl Display for XmlDocument
impl Display for XmlDocument
source§impl FromStr for XmlDocument
impl FromStr for XmlDocument
§type Err = ParseXmlError
type Err = ParseXmlError
The associated error which can be returned from parsing.
source§fn from_str(s: &str) -> Result<XmlDocument, ParseXmlError>
fn from_str(s: &str) -> Result<XmlDocument, ParseXmlError>
Parses a string
s
to return a value of this type. Read moreAuto Trait Implementations§
impl Freeze for XmlDocument
impl RefUnwindSafe for XmlDocument
impl Send for XmlDocument
impl Sync for XmlDocument
impl Unpin for XmlDocument
impl UnwindSafe for XmlDocument
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