Struct xpcom::interfaces::nsIDOMSVGLength [] [src]

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

interface nsIDOMSVGLength : nsISupports

Methods

impl nsIDOMSVGLength
[src]

[src]

Cast this nsIDOMSVGLength to one of its base interfaces.

impl nsIDOMSVGLength
[src]

SVG_LENGTHTYPE_UNKNOWN: i64 = 0

SVG_LENGTHTYPE_NUMBER: i64 = 1

SVG_LENGTHTYPE_PERCENTAGE: i64 = 2

SVG_LENGTHTYPE_EMS: i64 = 3

SVG_LENGTHTYPE_EXS: i64 = 4

SVG_LENGTHTYPE_PX: i64 = 5

SVG_LENGTHTYPE_CM: i64 = 6

SVG_LENGTHTYPE_MM: i64 = 7

SVG_LENGTHTYPE_IN: i64 = 8

SVG_LENGTHTYPE_PT: i64 = 9

SVG_LENGTHTYPE_PC: i64 = 10

[src]

readonly attribute unsigned short unitType;

[src]

attribute float value;

[src]

attribute float value;

[src]

attribute float valueInSpecifiedUnits;

[src]

attribute float valueInSpecifiedUnits;

[src]

attribute DOMString valueAsString;

[src]

attribute DOMString valueAsString;

[src]

void newValueSpecifiedUnits (in unsigned short unitType, in float valueInSpecifiedUnits);

[src]

void convertToSpecifiedUnits (in unsigned short unitType);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIDOMSVGLength
[src]

IID: nsIID = nsID(630600284, 44752, 18558, [150, 161, 10, 109, 88, 155, 156, 107])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMSVGLength
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.