Enum xml::common::XmlVersion
source · [−]pub enum XmlVersion {
Version10,
Version11,
}
Expand description
XML version enumeration.
Variants
Version10
XML version 1.0.
Version11
XML version 1.1.
Trait Implementations
sourceimpl Clone for XmlVersion
impl Clone for XmlVersion
sourcefn clone(&self) -> XmlVersion
fn clone(&self) -> XmlVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for XmlVersion
impl Debug for XmlVersion
sourceimpl Display for XmlVersion
impl Display for XmlVersion
sourceimpl PartialEq<XmlVersion> for XmlVersion
impl PartialEq<XmlVersion> for XmlVersion
impl Copy for XmlVersion
impl Eq for XmlVersion
impl StructuralEq for XmlVersion
impl StructuralPartialEq for XmlVersion
Auto Trait Implementations
impl RefUnwindSafe for XmlVersion
impl Send for XmlVersion
impl Sync for XmlVersion
impl Unpin for XmlVersion
impl UnwindSafe for XmlVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more