pub enum XMLVersion {
XML1_0,
XML1_1,
}
Expand description
Enum representing all currently available XML versions.
XML version 1.0. First definition in 1998.
XML version 1.1. First definition in 2004.
Converts the XMLVersion enum value into a string usable in the XML document
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.