pub enum ValueNode {
Empty,
String(String),
Boolean(bool),
Integer(String),
Decimal(String),
Double(String),
Typed(XmlValue),
}Expand description
Literal value node.
Variants§
Empty
Empty sequence ().
String(String)
String literal.
Boolean(bool)
Boolean literal (used internally, not in XPath syntax).
Integer(String)
Integer literal (stored as string for arbitrary precision).
Decimal(String)
Decimal literal (stored as string for arbitrary precision).
Double(String)
Double literal (stored as string to preserve exact representation).
Typed(XmlValue)
Typed value (for runtime computed values).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValueNode
impl RefUnwindSafe for ValueNode
impl Send for ValueNode
impl Sync for ValueNode
impl Unpin for ValueNode
impl UnsafeUnpin for ValueNode
impl UnwindSafe for ValueNode
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