Trait script::xpath::eval_value::NodesetHelpers
source · pub trait NodesetHelpers {
// Required methods
fn document_order_first(&self) -> Option<Root<Dom<Node>>>;
fn document_order(&self) -> Vec<Root<Dom<Node>>>;
fn document_order_unique(&self) -> Vec<Root<Dom<Node>>>;
}
Required Methods§
sourcefn document_order_first(&self) -> Option<Root<Dom<Node>>>
fn document_order_first(&self) -> Option<Root<Dom<Node>>>
Returns the node that occurs first in document order