pub struct BytesDecl<'a> { /* fields omitted */ }Creates a BytesDecl from a BytesStart
Gets xml version, including quotes (' or ")
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.
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static