Struct quick_xml::XmlDecl
[−]
[src]
pub struct XmlDecl { // some fields omitted }
Wrapper around Element
to parse XmlDecl
Postpone element parsing only when needed
Methods
impl XmlDecl
[src]
fn version(&self) -> ResultPos<&[u8]>
Gets xml version, including quotes (' or ")
fn encoding(&self) -> Option<ResultPos<&[u8]>>
Gets xml encoding, including quotes (' or ")
fn standalone(&self) -> Option<ResultPos<&[u8]>>
Gets xml standalone, including quotes (' or ")
Trait Implementations
impl Debug for XmlDecl
[src]
impl Clone for XmlDecl
[src]
fn clone(&self) -> XmlDecl
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more