pub enum XmlValueKind {
Atomic(XmlAtomicValue),
List {
item_type: XmlTypeCode,
items: Vec<XmlAtomicValue>,
},
Union(Box<XmlValue>),
UntypedAtomic(String),
}Expand description
Value kind discriminant for XmlValue
Variants§
Atomic(XmlAtomicValue)
A single atomic value
List
A list of atomic values (e.g., NMTOKENS)
Union(Box<XmlValue>)
A union value (actual type determined at runtime)
UntypedAtomic(String)
An untyped atomic value (raw string)
Trait Implementations§
Source§impl Clone for XmlValueKind
impl Clone for XmlValueKind
Source§fn clone(&self) -> XmlValueKind
fn clone(&self) -> XmlValueKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for XmlValueKind
impl Debug for XmlValueKind
Source§impl PartialEq for XmlValueKind
impl PartialEq for XmlValueKind
Source§fn eq(&self, other: &XmlValueKind) -> bool
fn eq(&self, other: &XmlValueKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for XmlValueKind
Auto Trait Implementations§
impl Freeze for XmlValueKind
impl RefUnwindSafe for XmlValueKind
impl Send for XmlValueKind
impl Sync for XmlValueKind
impl Unpin for XmlValueKind
impl UnsafeUnpin for XmlValueKind
impl UnwindSafe for XmlValueKind
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