pub enum XMLVersion {
Version1_0,
Version1_1,
}
Expand description
Specifies the version of XML which is being used and is contained
by the Token::XMLVersion
variant.
There are currently two versions: 1.0 and 1.1, the main difference being in the characters which are allowed. XML 1.0 is conservative, while XML 1.1 is liberal. See the XML 1.0 and XML 1.1 specifications for details, particularly the “Rationale and list of changes for XML 1.1”.
Variants§
Trait Implementations§
Source§impl Debug for XMLVersion
impl Debug for XMLVersion
Source§impl PartialEq for XMLVersion
impl PartialEq for XMLVersion
impl StructuralPartialEq for XMLVersion
Auto Trait Implementations§
impl Freeze for XMLVersion
impl RefUnwindSafe for XMLVersion
impl Send for XMLVersion
impl Sync for XMLVersion
impl Unpin for XMLVersion
impl UnwindSafe for XMLVersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more