Struct xpcom::interfaces::nsIDOMSVGElement
[−]
[src]
#[repr(C)]pub struct nsIDOMSVGElement { /* fields omitted */ }
interface nsIDOMSVGElement : nsIDOMElement
Methods
impl nsIDOMSVGElement
[src]
pub fn coerce<T: nsIDOMSVGElementCoerce>(&self) -> &T
[src]
Cast this nsIDOMSVGElement
to one of its base interfaces.
impl nsIDOMSVGElement
[src]
pub unsafe fn GetOwnerSVGElement(
&self,
aOwnerSVGElement: *mut *const nsIDOMSVGElement
) -> nsresult
[src]
&self,
aOwnerSVGElement: *mut *const nsIDOMSVGElement
) -> nsresult
readonly attribute nsIDOMSVGElement ownerSVGElement;
pub unsafe fn GetViewportElement(
&self,
aViewportElement: *mut *const nsIDOMSVGElement
) -> nsresult
[src]
&self,
aViewportElement: *mut *const nsIDOMSVGElement
) -> nsresult
readonly attribute nsIDOMSVGElement viewportElement;
pub unsafe fn GetSVGClassName(
&self,
aClassName: *mut *const nsISupports
) -> nsresult
[src]
&self,
aClassName: *mut *const nsISupports
) -> nsresult
[binaryname(SVGClassName)] readonly attribute nsISupports className;
pub unsafe fn GetStyle(
&self,
aStyle: *mut *const nsIDOMCSSStyleDeclaration
) -> nsresult
[src]
&self,
aStyle: *mut *const nsIDOMCSSStyleDeclaration
) -> nsresult
readonly attribute nsIDOMCSSStyleDeclaration style;
Methods from Deref<Target = nsIDOMElement>
pub fn coerce<T: nsIDOMElementCoerce>(&self) -> &T
[src]
Cast this nsIDOMElement
to one of its base interfaces.
pub unsafe fn GetTagName(&self, aTagName: &mut nsAString) -> nsresult
[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;
pub unsafe fn GetAttributes(
&self,
aAttributes: *mut *const nsIDOMMozNamedAttrMap
) -> nsresult
[src]
&self,
aAttributes: *mut *const nsIDOMMozNamedAttrMap
) -> nsresult
readonly attribute nsIDOMMozNamedAttrMap attributes;
pub unsafe fn GetAttribute(
&self,
name: &nsAString,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
name: &nsAString,
_retval: &mut nsAString
) -> nsresult
DOMString getAttribute (in DOMString name);
pub unsafe fn SetAttribute(
&self,
name: &nsAString,
value: &nsAString
) -> nsresult
[src]
&self,
name: &nsAString,
value: &nsAString
) -> nsresult
void setAttribute (in DOMString name, in DOMString value);
pub unsafe fn HasAttribute(
&self,
name: &nsAString,
_retval: *mut bool
) -> nsresult
[src]
&self,
name: &nsAString,
_retval: *mut bool
) -> nsresult
boolean hasAttribute (in DOMString name);
pub unsafe fn GetAttributeNode(
&self,
name: &nsAString,
_retval: *mut *const nsIDOMAttr
) -> nsresult
[src]
&self,
name: &nsAString,
_retval: *mut *const nsIDOMAttr
) -> nsresult
nsIDOMAttr getAttributeNode (in DOMString name);
pub unsafe fn GetAttributeNodeNS(
&self,
namespaceURI: &nsAString,
localName: &nsAString,
_retval: *mut *const nsIDOMAttr
) -> nsresult
[src]
&self,
namespaceURI: &nsAString,
localName: &nsAString,
_retval: *mut *const nsIDOMAttr
) -> nsresult
nsIDOMAttr getAttributeNodeNS (in DOMString namespaceURI, in DOMString localName);
Trait Implementations
impl XpCom for nsIDOMSVGElement
[src]
const IID: nsIID
IID: nsIID = nsID(3325368261, 35755, 19665, [134, 148, 188, 202, 252, 50, 161, 149])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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 nsIDOMSVGElement
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIDOMSVGElement
[src]
type Target = nsIDOMElement
The resulting type after dereferencing.
fn deref(&self) -> &nsIDOMElement
[src]
Dereferences the value.