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§

source

fn document_order_first(&self) -> Option<Root<Dom<Node>>>

Returns the node that occurs first in document order

source

fn document_order(&self) -> Vec<Root<Dom<Node>>>

source

fn document_order_unique(&self) -> Vec<Root<Dom<Node>>>

Implementations on Foreign Types§

source§

impl NodesetHelpers for Vec<Root<Dom<Node>>>

Implementors§