pub trait RangeMethods {
Show 23 methods // Required methods fn CommonAncestorContainer(&self) -> Root<Dom<Node>>; fn SetStart(&self, refNode: &Node, offset: u32) -> Result<(), Error>; fn SetEnd(&self, refNode: &Node, offset: u32) -> Result<(), Error>; fn SetStartBefore(&self, refNode: &Node) -> Result<(), Error>; fn SetStartAfter(&self, refNode: &Node) -> Result<(), Error>; fn SetEndBefore(&self, refNode: &Node) -> Result<(), Error>; fn SetEndAfter(&self, refNode: &Node) -> Result<(), Error>; fn Collapse(&self, toStart: bool); fn SelectNode(&self, refNode: &Node) -> Result<(), Error>; fn SelectNodeContents(&self, refNode: &Node) -> Result<(), Error>; fn CompareBoundaryPoints( &self, how: u16, sourceRange: &Range ) -> Result<i16, Error>; fn DeleteContents(&self) -> Result<(), Error>; fn ExtractContents(&self) -> Result<Root<Dom<DocumentFragment>>, Error>; fn CloneContents(&self) -> Result<Root<Dom<DocumentFragment>>, Error>; fn InsertNode(&self, node: &Node) -> Result<(), Error>; fn SurroundContents(&self, newParent: &Node) -> Result<(), Error>; fn CloneRange(&self) -> Root<Dom<Range>>; fn Detach(&self); fn IsPointInRange(&self, node: &Node, offset: u32) -> Result<bool, Error>; fn ComparePoint(&self, node: &Node, offset: u32) -> Result<i16, Error>; fn IntersectsNode(&self, node: &Node) -> bool; fn Stringifier(&self) -> DOMString; fn CreateContextualFragment( &self, fragment: DOMString ) -> Result<Root<Dom<DocumentFragment>>, Error>;
}

Required Methods§

source

fn CommonAncestorContainer(&self) -> Root<Dom<Node>>

source

fn SetStart(&self, refNode: &Node, offset: u32) -> Result<(), Error>

source

fn SetEnd(&self, refNode: &Node, offset: u32) -> Result<(), Error>

source

fn SetStartBefore(&self, refNode: &Node) -> Result<(), Error>

source

fn SetStartAfter(&self, refNode: &Node) -> Result<(), Error>

source

fn SetEndBefore(&self, refNode: &Node) -> Result<(), Error>

source

fn SetEndAfter(&self, refNode: &Node) -> Result<(), Error>

source

fn Collapse(&self, toStart: bool)

source

fn SelectNode(&self, refNode: &Node) -> Result<(), Error>

source

fn SelectNodeContents(&self, refNode: &Node) -> Result<(), Error>

source

fn CompareBoundaryPoints( &self, how: u16, sourceRange: &Range ) -> Result<i16, Error>

source

fn DeleteContents(&self) -> Result<(), Error>

source

fn ExtractContents(&self) -> Result<Root<Dom<DocumentFragment>>, Error>

source

fn CloneContents(&self) -> Result<Root<Dom<DocumentFragment>>, Error>

source

fn InsertNode(&self, node: &Node) -> Result<(), Error>

source

fn SurroundContents(&self, newParent: &Node) -> Result<(), Error>

source

fn CloneRange(&self) -> Root<Dom<Range>>

source

fn Detach(&self)

source

fn IsPointInRange(&self, node: &Node, offset: u32) -> Result<bool, Error>

source

fn ComparePoint(&self, node: &Node, offset: u32) -> Result<i16, Error>

source

fn IntersectsNode(&self, node: &Node) -> bool

source

fn Stringifier(&self) -> DOMString

source

fn CreateContextualFragment( &self, fragment: DOMString ) -> Result<Root<Dom<DocumentFragment>>, Error>

Implementors§