Struct xpcom::interfaces::nsIDOMAttr [] [src]

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

interface nsIDOMAttr : nsIDOMNode

Methods

impl nsIDOMAttr
[src]

[src]

Cast this nsIDOMAttr to one of its base interfaces.

impl nsIDOMAttr
[src]

[src]

/**
 * The nsIDOMAttr interface represents an attribute in an "Element" object.
 * Typically the allowable values for the attribute are defined in a document
 * type definition.
 *
 * For more information on this interface please see
 * http://www.w3.org/TR/DOM-Level-2-Core/
 */

readonly attribute DOMString name;

[src]

readonly attribute boolean specified;

[src]

attribute DOMString value;

[src]

attribute DOMString value;

[src]

readonly attribute nsIDOMElement ownerElement;

[src]

readonly attribute boolean isId;

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 nsIDOMAttr
[src]

IID: nsIID = nsID(2108985832, 41891, 17458, [173, 103, 230, 195, 62, 36, 172, 109])

[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 nsIDOMAttr
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMAttr
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.