pub enum XPathResult {
Nodes(Vec<NodeId>),
Strings(Vec<String>),
Boolean(bool),
}Expand description
Result of evaluating an XPath expression.
Variants§
Nodes(Vec<NodeId>)
A list of matched node ids.
Strings(Vec<String>)
A list of extracted strings (e.g. from text()).
Boolean(bool)
A boolean result.
Implementations§
Trait Implementations§
Source§impl Clone for XPathResult
impl Clone for XPathResult
Source§fn clone(&self) -> XPathResult
fn clone(&self) -> XPathResult
Returns a duplicate of the value. Read more
1.0.0 · 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 XPathResult
impl Debug for XPathResult
Source§impl PartialEq for XPathResult
impl PartialEq for XPathResult
impl StructuralPartialEq for XPathResult
Auto Trait Implementations§
impl Freeze for XPathResult
impl RefUnwindSafe for XPathResult
impl Send for XPathResult
impl Sync for XPathResult
impl Unpin for XPathResult
impl UnsafeUnpin for XPathResult
impl UnwindSafe for XPathResult
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