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>;
}

Required Methods§

Implementors§