Struct xpcom::interfaces::nsIInputAvailableCallback
[−]
[src]
#[repr(C)]pub struct nsIInputAvailableCallback { /* fields omitted */ }
interface nsIInputAvailableCallback : nsISupports
Methods
impl nsIInputAvailableCallback
[src]
pub fn coerce<T: nsIInputAvailableCallbackCoerce>(&self) -> &T
[src]
Cast this nsIInputAvailableCallback
to one of its base interfaces.
impl nsIInputAvailableCallback
[src]
pub unsafe fn OnInputAvailableComplete(
&self,
available: uint64_t,
available_return_code: nsresult
) -> nsresult
[src]
&self,
available: uint64_t,
available_return_code: nsresult
) -> nsresult
void onInputAvailableComplete (in unsigned long long available, in nsresult available_return_code);
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 nsIInputAvailableCallback
[src]
const IID: nsIID
IID: nsIID = nsID(4281182001, 17616, 19929, [130, 54, 201, 147, 135, 254, 199, 33])
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 nsIInputAvailableCallback
[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 nsIInputAvailableCallback
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.