Trait TreeWalkerMethods
Source pub trait TreeWalkerMethods<D: DomTypes> {
// Required methods
fn Root(&self) -> DomRoot<D::Node>;
fn WhatToShow(&self) -> u32;
fn GetFilter(&self) -> Option<Rc<NodeFilter<D>>>;
fn CurrentNode(&self) -> DomRoot<D::Node>;
fn SetCurrentNode(&self, value: &D::Node);
fn ParentNode(
&self,
cx: &mut JSContext,
) -> Fallible<Option<DomRoot<D::Node>>>;
fn FirstChild(
&self,
cx: &mut JSContext,
) -> Fallible<Option<DomRoot<D::Node>>>;
fn LastChild(
&self,
cx: &mut JSContext,
) -> Fallible<Option<DomRoot<D::Node>>>;
fn PreviousSibling(
&self,
cx: &mut JSContext,
) -> Fallible<Option<DomRoot<D::Node>>>;
fn NextSibling(
&self,
cx: &mut JSContext,
) -> Fallible<Option<DomRoot<D::Node>>>;
fn PreviousNode(
&self,
cx: &mut JSContext,
) -> Fallible<Option<DomRoot<D::Node>>>;
fn NextNode(&self, cx: &mut JSContext) -> Fallible<Option<DomRoot<D::Node>>>;
}