pub enum XPath2ResultType {
String,
Boolean,
Number,
NodeSet,
Navigator,
DateTime,
Duration,
QName,
AnyUri,
Other,
Any,
}Expand description
XPath 2.0 result type classification.
Used to categorize the result of XPath expressions.
Variants§
String
String result
Boolean
Boolean result
Number
Numeric result (integer, decimal, float, double)
NodeSet
Node set result
Single navigator/node result
DateTime
DateTime result
Duration
Duration result
QName
QName result
AnyUri
AnyUri result
Other
Other atomic type
Any
Any/unknown type
Trait Implementations§
Source§impl Clone for XPath2ResultType
impl Clone for XPath2ResultType
Source§fn clone(&self) -> XPath2ResultType
fn clone(&self) -> XPath2ResultType
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 moreimpl Copy for XPath2ResultType
Source§impl Debug for XPath2ResultType
impl Debug for XPath2ResultType
impl Eq for XPath2ResultType
Source§impl PartialEq for XPath2ResultType
impl PartialEq for XPath2ResultType
Source§fn eq(&self, other: &XPath2ResultType) -> bool
fn eq(&self, other: &XPath2ResultType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for XPath2ResultType
Auto Trait Implementations§
impl Freeze for XPath2ResultType
impl RefUnwindSafe for XPath2ResultType
impl Send for XPath2ResultType
impl Sync for XPath2ResultType
impl Unpin for XPath2ResultType
impl UnsafeUnpin for XPath2ResultType
impl UnwindSafe for XPath2ResultType
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