Struct xpcom::interfaces::nsISupportsDouble
[−]
[src]
#[repr(C)]pub struct nsISupportsDouble { /* fields omitted */ }
interface nsISupportsDouble : nsISupportsPrimitive
/**
* Scriptable storage for doubles
*/
Methods
impl nsISupportsDouble
[src]
pub fn coerce<T: nsISupportsDoubleCoerce>(&self) -> &T
[src]
Cast this nsISupportsDouble
to one of its base interfaces.
impl nsISupportsDouble
[src]
pub unsafe fn GetData(&self, aData: *mut c_double) -> nsresult
[src]
attribute double data;
pub unsafe fn SetData(&self, aData: c_double) -> nsresult
[src]
attribute double data;
pub unsafe fn ToString(&self, _retval: *mut *const c_char) -> nsresult
[src]
string toString ();
Methods from Deref<Target = nsISupportsPrimitive>
pub fn coerce<T: nsISupportsPrimitiveCoerce>(&self) -> &T
[src]
Cast this nsISupportsPrimitive
to one of its base interfaces.
pub const TYPE_ID: i64
pub const TYPE_CSTRING: i64
pub const TYPE_STRING: i64
pub const TYPE_PRBOOL: i64
pub const TYPE_PRUINT8: i64
pub const TYPE_PRUINT16: i64
pub const TYPE_PRUINT32: i64
pub const TYPE_PRUINT64: i64
pub const TYPE_PRTIME: i64
pub const TYPE_CHAR: i64
pub const TYPE_PRINT16: i64
pub const TYPE_PRINT32: i64
pub const TYPE_PRINT64: i64
pub const TYPE_FLOAT: i64
pub const TYPE_DOUBLE: i64
pub const TYPE_INTERFACE_POINTER: i64
pub unsafe fn GetType(&self, aType: *mut uint16_t) -> nsresult
[src]
readonly attribute unsigned short type;
Trait Implementations
impl XpCom for nsISupportsDouble
[src]
const IID: nsIID
IID: nsIID = nsID(3005555616, 19136, 4563, [186, 234, 0, 128, 95, 138, 93, 215])
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 nsISupportsDouble
[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 nsISupportsDouble
[src]
type Target = nsISupportsPrimitive
The resulting type after dereferencing.
fn deref(&self) -> &nsISupportsPrimitive
[src]
Dereferences the value.