Struct xpcom::interfaces::nsIDOMSVGLength
[−]
[src]
#[repr(C)]pub struct nsIDOMSVGLength { /* fields omitted */ }
interface nsIDOMSVGLength : nsISupports
Methods
impl nsIDOMSVGLength
[src]
pub fn coerce<T: nsIDOMSVGLengthCoerce>(&self) -> &T
[src]
Cast this nsIDOMSVGLength
to one of its base interfaces.
impl nsIDOMSVGLength
[src]
pub const SVG_LENGTHTYPE_UNKNOWN: i64
SVG_LENGTHTYPE_UNKNOWN: i64 = 0
pub const SVG_LENGTHTYPE_NUMBER: i64
SVG_LENGTHTYPE_NUMBER: i64 = 1
pub const SVG_LENGTHTYPE_PERCENTAGE: i64
SVG_LENGTHTYPE_PERCENTAGE: i64 = 2
pub const SVG_LENGTHTYPE_EMS: i64
SVG_LENGTHTYPE_EMS: i64 = 3
pub const SVG_LENGTHTYPE_EXS: i64
SVG_LENGTHTYPE_EXS: i64 = 4
pub const SVG_LENGTHTYPE_PX: i64
SVG_LENGTHTYPE_PX: i64 = 5
pub const SVG_LENGTHTYPE_CM: i64
SVG_LENGTHTYPE_CM: i64 = 6
pub const SVG_LENGTHTYPE_MM: i64
SVG_LENGTHTYPE_MM: i64 = 7
pub const SVG_LENGTHTYPE_IN: i64
SVG_LENGTHTYPE_IN: i64 = 8
pub const SVG_LENGTHTYPE_PT: i64
SVG_LENGTHTYPE_PT: i64 = 9
pub const SVG_LENGTHTYPE_PC: i64
SVG_LENGTHTYPE_PC: i64 = 10
pub unsafe fn GetUnitType(&self, aUnitType: *mut uint16_t) -> nsresult
[src]
readonly attribute unsigned short unitType;
pub unsafe fn GetValue(&self, aValue: *mut c_float) -> nsresult
[src]
attribute float value;
pub unsafe fn SetValue(&self, aValue: c_float) -> nsresult
[src]
attribute float value;
pub unsafe fn GetValueInSpecifiedUnits(
&self,
aValueInSpecifiedUnits: *mut c_float
) -> nsresult
[src]
&self,
aValueInSpecifiedUnits: *mut c_float
) -> nsresult
attribute float valueInSpecifiedUnits;
pub unsafe fn SetValueInSpecifiedUnits(
&self,
aValueInSpecifiedUnits: c_float
) -> nsresult
[src]
&self,
aValueInSpecifiedUnits: c_float
) -> nsresult
attribute float valueInSpecifiedUnits;
pub unsafe fn GetValueAsString(
&self,
aValueAsString: &mut nsAString
) -> nsresult
[src]
&self,
aValueAsString: &mut nsAString
) -> nsresult
attribute DOMString valueAsString;
pub unsafe fn SetValueAsString(&self, aValueAsString: &nsAString) -> nsresult
[src]
attribute DOMString valueAsString;
pub unsafe fn NewValueSpecifiedUnits(
&self,
unitType: uint16_t,
valueInSpecifiedUnits: c_float
) -> nsresult
[src]
&self,
unitType: uint16_t,
valueInSpecifiedUnits: c_float
) -> nsresult
void newValueSpecifiedUnits (in unsigned short unitType, in float valueInSpecifiedUnits);
pub unsafe fn ConvertToSpecifiedUnits(&self, unitType: uint16_t) -> nsresult
[src]
void convertToSpecifiedUnits (in unsigned short unitType);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIDOMSVGLength
[src]
const IID: nsIID
IID: nsIID = nsID(630600284, 44752, 18558, [150, 161, 10, 109, 88, 155, 156, 107])
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 nsIDOMSVGLength
[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 nsIDOMSVGLength
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.