pub trait NodeMethods {
Show 31 methods fn NodeType(&self) -> u16; fn NodeName(&self) -> DOMString; fn BaseURI(&self) -> USVString; fn IsConnected(&self) -> bool; fn GetOwnerDocument(&self) -> Option<Root<Dom<Document>>>; fn GetRootNode(&self, options: &GetRootNodeOptions) -> Root<Dom<Node>>; fn GetParentNode(&self) -> Option<Root<Dom<Node>>>; fn GetParentElement(&self) -> Option<Root<Dom<Element>>>; fn HasChildNodes(&self) -> bool; fn ChildNodes(&self) -> Root<Dom<NodeList>>; fn GetFirstChild(&self) -> Option<Root<Dom<Node>>>; fn GetLastChild(&self) -> Option<Root<Dom<Node>>>; fn GetPreviousSibling(&self) -> Option<Root<Dom<Node>>>; fn GetNextSibling(&self) -> Option<Root<Dom<Node>>>; fn GetNodeValue(&self) -> Option<DOMString>; fn SetNodeValue(&self, value: Option<DOMString>); fn GetTextContent(&self) -> Option<DOMString>; fn SetTextContent(&self, value: Option<DOMString>); fn Normalize(&self); fn CloneNode(&self, deep: bool) -> Result<Root<Dom<Node>>, Error>; fn IsEqualNode(&self, node: Option<&Node>) -> bool; fn IsSameNode(&self, otherNode: Option<&Node>) -> bool; fn CompareDocumentPosition(&self, other: &Node) -> u16; fn Contains(&self, other: Option<&Node>) -> bool; fn LookupPrefix(&self, namespace: Option<DOMString>) -> Option<DOMString>; fn LookupNamespaceURI(&self, prefix: Option<DOMString>) -> Option<DOMString>; fn IsDefaultNamespace(&self, namespace: Option<DOMString>) -> bool; fn InsertBefore(
        &self,
        node: &Node,
        child: Option<&Node>
    ) -> Result<Root<Dom<Node>>, Error>; fn AppendChild(&self, node: &Node) -> Result<Root<Dom<Node>>, Error>; fn ReplaceChild(
        &self,
        node: &Node,
        child: &Node
    ) -> Result<Root<Dom<Node>>, Error>; fn RemoveChild(&self, child: &Node) -> Result<Root<Dom<Node>>, Error>;
}

Required Methods

Implementors