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) -> Result<&[u8]>
Gets xml version, including quotes (' or ")
fn encoding(&self) -> Option<Result<&[u8]>>
Gets xml encoding, including quotes (' or ")
fn standalone(&self) -> Option<Result<&[u8]>>
Gets xml standalone, including quotes (' or ")