Trait script::dom::bindings::codegen::Bindings::TreeWalkerBinding::TreeWalker_Binding::TreeWalkerMethods
source · pub trait TreeWalkerMethods {
// Required methods
fn Root(&self) -> Root<Dom<Node>>;
fn WhatToShow(&self) -> u32;
fn GetFilter(&self) -> Option<Rc<NodeFilter>>;
fn CurrentNode(&self) -> Root<Dom<Node>>;
fn SetCurrentNode(&self, value: &Node);
fn ParentNode(&self) -> Result<Option<Root<Dom<Node>>>, Error>;
fn FirstChild(&self) -> Result<Option<Root<Dom<Node>>>, Error>;
fn LastChild(&self) -> Result<Option<Root<Dom<Node>>>, Error>;
fn PreviousSibling(&self) -> Result<Option<Root<Dom<Node>>>, Error>;
fn NextSibling(&self) -> Result<Option<Root<Dom<Node>>>, Error>;
fn PreviousNode(&self) -> Result<Option<Root<Dom<Node>>>, Error>;
fn NextNode(&self) -> Result<Option<Root<Dom<Node>>>, Error>;
}