Struct xpcom::interfaces::nsISupportsPRInt16
[−]
[src]
#[repr(C)]pub struct nsISupportsPRInt16 { /* fields omitted */ }
interface nsISupportsPRInt16 : nsISupportsPrimitive
/**
* Scriptable storage for 16-bit integers
*/
Methods
impl nsISupportsPRInt16
[src]
pub fn coerce<T: nsISupportsPRInt16Coerce>(&self) -> &T
[src]
Cast this nsISupportsPRInt16
to one of its base interfaces.
impl nsISupportsPRInt16
[src]
pub unsafe fn GetData(&self, aData: *mut int16_t) -> nsresult
[src]
attribute int16_t data;
pub unsafe fn SetData(&self, aData: int16_t) -> nsresult
[src]
attribute int16_t 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 nsISupportsPRInt16
[src]
const IID: nsIID
IID: nsIID = nsID(3809318064, 18972, 4563, [152, 144, 0, 96, 8, 150, 36, 34])
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 nsISupportsPRInt16
[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 nsISupportsPRInt16
[src]
type Target = nsISupportsPrimitive
The resulting type after dereferencing.
fn deref(&self) -> &nsISupportsPrimitive
[src]
Dereferences the value.