pub 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, cx: &mut JSContext) -> Fallible<Option<DomRoot<D::Node>>>;
fn PreviousNode(
&self,
cx: &mut JSContext,
) -> Fallible<Option<DomRoot<D::Node>>>;
fn Detach(&self);
}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, cx: &mut JSContext) -> Fallible<Option<DomRoot<D::Node>>>
fn PreviousNode(&self, cx: &mut JSContext) -> Fallible<Option<DomRoot<D::Node>>>
fn Detach(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".