Struct quick_xml::events::BytesDecl [−][src]
pub struct BytesDecl<'a> { /* fields omitted */ }Expand description
An XML declaration (Event::Decl).
Implementations
Creates a BytesDecl from a BytesStart
Gets xml encoding, including quotes (’ or “)
Gets xml standalone, including quotes (’ or “)
Constructs a new XmlDecl from the (mandatory) version (should be 1.0 or 1.1),
the optional encoding (e.g., UTF-8) and the optional standalone (yes or no)
attribute.
Does not escape any of its inputs. Always uses double quotes to wrap the attribute values. The caller is responsible for escaping attribute values. Shouldn’t usually be relevant since the double quote character is not allowed in any of the attribute values.
Converts the event into an owned event.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for BytesDecl<'a>
impl<'a> UnwindSafe for BytesDecl<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more