pub(crate) trait NodeIteratorMethods<D: DomTypes> {
// Required methods
fn Root(&self) -> DomRoot<D::Node>;
fn ReferenceNode(&self) -> DomRoot<D::Node>;
fn PointerBeforeReferenceNode(&self) -> bool;
fn WhatToShow(&self) -> u32;
fn GetFilter(&self) -> Option<Rc<NodeFilter<D>>>;
fn NextNode(&self, _can_gc: CanGc) -> Fallible<Option<DomRoot<D::Node>>>;
fn PreviousNode(&self, _can_gc: CanGc) -> Fallible<Option<DomRoot<D::Node>>>;
fn Detach(&self);
}