Struct xpcom::interfaces::nsIXPCTestObjectReadOnly
[−]
[src]
#[repr(C)]pub struct nsIXPCTestObjectReadOnly { /* fields omitted */ }
interface nsIXPCTestObjectReadOnly : nsISupports
Methods
impl nsIXPCTestObjectReadOnly
[src]
pub fn coerce<T: nsIXPCTestObjectReadOnlyCoerce>(&self) -> &T
[src]
Cast this nsIXPCTestObjectReadOnly
to one of its base interfaces.
impl nsIXPCTestObjectReadOnly
[src]
pub unsafe fn GetStrReadOnly(
&self,
aStrReadOnly: *mut *const c_char
) -> nsresult
[src]
&self,
aStrReadOnly: *mut *const c_char
) -> nsresult
readonly attribute string strReadOnly;
pub unsafe fn GetBoolReadOnly(&self, aBoolReadOnly: *mut bool) -> nsresult
[src]
readonly attribute boolean boolReadOnly;
pub unsafe fn GetShortReadOnly(&self, aShortReadOnly: *mut int16_t) -> nsresult
[src]
readonly attribute short shortReadOnly;
pub unsafe fn GetLongReadOnly(&self, aLongReadOnly: *mut int32_t) -> nsresult
[src]
readonly attribute long longReadOnly;
pub unsafe fn GetFloatReadOnly(&self, aFloatReadOnly: *mut c_float) -> nsresult
[src]
readonly attribute float floatReadOnly;
pub unsafe fn GetCharReadOnly(&self, aCharReadOnly: *mut c_char) -> nsresult
[src]
readonly attribute char charReadOnly;
pub unsafe fn GetTimeReadOnly(&self, aTimeReadOnly: *mut PRTime) -> nsresult
[src]
readonly attribute PRTime timeReadOnly;
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 nsIXPCTestObjectReadOnly
[src]
const IID: nsIID
IID: nsIID = nsID(1123801590, 45357, 18415, [183, 161, 2, 215, 60, 17, 254, 83])
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 nsIXPCTestObjectReadOnly
[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 nsIXPCTestObjectReadOnly
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.