pub enum XPathResult {
Node(HtmlNode),
String(String),
}
Expand description
The result of an XPath query.
Variants§
Implementations§
Source§impl XPathResult
impl XPathResult
Sourcepub fn into_string(self) -> Option<String>
pub fn into_string(self) -> Option<String>
Convert the result into a string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XPathResult
impl !RefUnwindSafe for XPathResult
impl Send for XPathResult
impl Sync for XPathResult
impl Unpin 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