Struct xpcom::interfaces::nsIXPCTestObjectReadWrite
[−]
[src]
#[repr(C)]pub struct nsIXPCTestObjectReadWrite { /* fields omitted */ }
interface nsIXPCTestObjectReadWrite : nsISupports
Methods
impl nsIXPCTestObjectReadWrite
[src]
pub fn coerce<T: nsIXPCTestObjectReadWriteCoerce>(&self) -> &T
[src]
Cast this nsIXPCTestObjectReadWrite
to one of its base interfaces.
impl nsIXPCTestObjectReadWrite
[src]
pub unsafe fn GetStringProperty(
&self,
aStringProperty: *mut *const c_char
) -> nsresult
[src]
&self,
aStringProperty: *mut *const c_char
) -> nsresult
attribute string stringProperty;
pub unsafe fn SetStringProperty(
&self,
aStringProperty: *const c_char
) -> nsresult
[src]
&self,
aStringProperty: *const c_char
) -> nsresult
attribute string stringProperty;
pub unsafe fn GetBooleanProperty(&self, aBooleanProperty: *mut bool) -> nsresult
[src]
attribute boolean booleanProperty;
pub unsafe fn SetBooleanProperty(&self, aBooleanProperty: bool) -> nsresult
[src]
attribute boolean booleanProperty;
pub unsafe fn GetShortProperty(&self, aShortProperty: *mut int16_t) -> nsresult
[src]
attribute short shortProperty;
pub unsafe fn SetShortProperty(&self, aShortProperty: int16_t) -> nsresult
[src]
attribute short shortProperty;
pub unsafe fn GetLongProperty(&self, aLongProperty: *mut int32_t) -> nsresult
[src]
attribute long longProperty;
pub unsafe fn SetLongProperty(&self, aLongProperty: int32_t) -> nsresult
[src]
attribute long longProperty;
pub unsafe fn GetFloatProperty(&self, aFloatProperty: *mut c_float) -> nsresult
[src]
attribute float floatProperty;
pub unsafe fn SetFloatProperty(&self, aFloatProperty: c_float) -> nsresult
[src]
attribute float floatProperty;
pub unsafe fn GetCharProperty(&self, aCharProperty: *mut c_char) -> nsresult
[src]
attribute char charProperty;
pub unsafe fn SetCharProperty(&self, aCharProperty: c_char) -> nsresult
[src]
attribute char charProperty;
pub unsafe fn GetTimeProperty(&self, aTimeProperty: *mut PRTime) -> nsresult
[src]
attribute PRTime timeProperty;
pub unsafe fn SetTimeProperty(&self, aTimeProperty: PRTime) -> nsresult
[src]
attribute PRTime timeProperty;
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 nsIXPCTestObjectReadWrite
[src]
const IID: nsIID
IID: nsIID = nsID(4034210224, 42105, 18772, [171, 165, 171, 49, 66, 198, 177, 203])
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 nsIXPCTestObjectReadWrite
[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 nsIXPCTestObjectReadWrite
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.