script::dom::htmlcollection

Trait CollectionFilter

source
pub(crate) trait CollectionFilter: JSTraceable {
    // Required method
    fn filter<'a>(&self, elem: &'a Element, root: &'a Node) -> bool;
}

Required Methods§

source

fn filter<'a>(&self, elem: &'a Element, root: &'a Node) -> bool

Implementors§