Struct xpcom::interfaces::inISearchObserver
[−]
[src]
#[repr(C)]pub struct inISearchObserver { /* fields omitted */ }
interface inISearchObserver : nsISupports
Methods
impl inISearchObserver
[src]
pub fn coerce<T: inISearchObserverCoerce>(&self) -> &T
[src]
Cast this inISearchObserver
to one of its base interfaces.
impl inISearchObserver
[src]
pub const IN_SUCCESS: i64
IN_SUCCESS: i64 = 1
pub const IN_INTERRUPTED: i64
IN_INTERRUPTED: i64 = 2
pub const IN_ERROR: i64
IN_ERROR: i64 = 3
pub unsafe fn OnSearchStart(&self, aModule: *const inISearchProcess) -> nsresult
[src]
void onSearchStart (in inISearchProcess aModule);
pub unsafe fn OnSearchResult(
&self,
aModule: *const inISearchProcess
) -> nsresult
[src]
&self,
aModule: *const inISearchProcess
) -> nsresult
void onSearchResult (in inISearchProcess aModule);
pub unsafe fn OnSearchEnd(
&self,
aModule: *const inISearchProcess,
aResult: int16_t
) -> nsresult
[src]
&self,
aModule: *const inISearchProcess,
aResult: int16_t
) -> nsresult
void onSearchEnd (in inISearchProcess aModule, in short aResult);
pub unsafe fn OnSearchError(
&self,
aModule: *const inISearchProcess,
aMessage: &nsAString
) -> nsresult
[src]
&self,
aModule: *const inISearchProcess,
aMessage: &nsAString
) -> nsresult
void onSearchError (in inISearchProcess aModule, in AString aMessage);
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 inISearchObserver
[src]
const IID: nsIID
IID: nsIID = nsID(1176661403, 58264, 16646, [141, 155, 34, 93, 77, 5, 137, 245])
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 inISearchObserver
[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 inISearchObserver
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.