Struct xpcom::interfaces::nsIDOMElement [] [src]

#[repr(C)]
pub struct nsIDOMElement { /* fields omitted */ }

interface nsIDOMElement : nsIDOMNode

Methods

impl nsIDOMElement
[src]

[src]

Cast this nsIDOMElement to one of its base interfaces.

impl nsIDOMElement
[src]

[src]

/**
 * The nsIDOMElement interface represents an element in an HTML or
 * XML document.
 *
 * For more information on this interface please see
 * http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-element
 */

readonly attribute DOMString tagName;

[src]

readonly attribute nsIDOMMozNamedAttrMap attributes;

[src]

DOMString getAttribute (in DOMString name);

[src]

void setAttribute (in DOMString name, in DOMString value);

[src]

boolean hasAttribute (in DOMString name);

[src]

nsIDOMAttr getAttributeNode (in DOMString name);

[src]

nsIDOMAttr getAttributeNodeNS (in DOMString namespaceURI, in DOMString localName);

Methods from Deref<Target = nsIDOMNode>

[src]

Cast this nsIDOMNode to one of its base interfaces.

[src]

readonly attribute DOMString nodeName;

[src]

attribute DOMString nodeValue;

[src]

attribute DOMString nodeValue;

[src]

readonly attribute unsigned short nodeType;

[src]

readonly attribute nsIDOMNode parentNode;

[src]

readonly attribute nsIDOMNodeList childNodes;

[src]

readonly attribute nsIDOMNode firstChild;

[src]

readonly attribute nsIDOMNode lastChild;

[src]

readonly attribute nsIDOMNode previousSibling;

[src]

readonly attribute nsIDOMNode nextSibling;

[src]

readonly attribute nsIDOMDocument ownerDocument;

[src]

nsIDOMNode removeChild (in nsIDOMNode oldChild) raises (DOMException);

[src]

boolean hasChildNodes ();

[src]

readonly attribute DOMString namespaceURI;

[src]

readonly attribute DOMString prefix;

[src]

readonly attribute DOMString localName;

[src]

attribute DOMString textContent;

[src]

attribute DOMString textContent;

Trait Implementations

impl XpCom for nsIDOMElement
[src]

IID: nsIID = nsID(1653184923, 4104, 17001, [180, 42, 65, 62, 197, 169, 211, 244])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIDOMElement
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMElement
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.