Struct xpcom::interfaces::inISearchProcess
[−]
[src]
#[repr(C)]pub struct inISearchProcess { /* fields omitted */ }
interface inISearchProcess : nsISupports
Methods
impl inISearchProcess
[src]
pub fn coerce<T: inISearchProcessCoerce>(&self) -> &T
[src]
Cast this inISearchProcess
to one of its base interfaces.
impl inISearchProcess
[src]
pub unsafe fn GetIsActive(&self, aIsActive: *mut bool) -> nsresult
[src]
readonly attribute boolean isActive;
pub unsafe fn GetResultCount(&self, aResultCount: *mut int32_t) -> nsresult
[src]
readonly attribute long resultCount;
pub unsafe fn GetHoldResults(&self, aHoldResults: *mut bool) -> nsresult
[src]
attribute boolean holdResults;
pub unsafe fn SetHoldResults(&self, aHoldResults: bool) -> nsresult
[src]
attribute boolean holdResults;
pub unsafe fn SearchSync(&self) -> nsresult
[src]
void searchSync ();
pub unsafe fn SearchAsync(
&self,
aObserver: *const inISearchObserver
) -> nsresult
[src]
&self,
aObserver: *const inISearchObserver
) -> nsresult
void searchAsync (in inISearchObserver aObserver);
pub unsafe fn SearchStop(&self) -> nsresult
[src]
void searchStop ();
pub unsafe fn SearchStep(&self, _retval: *mut bool) -> nsresult
[src]
boolean searchStep ();
pub unsafe fn GetStringResultAt(
&self,
aIndex: int32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aIndex: int32_t,
_retval: &mut nsAString
) -> nsresult
AString getStringResultAt (in long aIndex);
pub unsafe fn GetIntResultAt(
&self,
aIndex: int32_t,
_retval: *mut int32_t
) -> nsresult
[src]
&self,
aIndex: int32_t,
_retval: *mut int32_t
) -> nsresult
long getIntResultAt (in long aIndex);
pub unsafe fn GetUIntResultAt(
&self,
aIndex: int32_t,
_retval: *mut uint32_t
) -> nsresult
[src]
&self,
aIndex: int32_t,
_retval: *mut uint32_t
) -> nsresult
unsigned long getUIntResultAt (in long aIndex);
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 inISearchProcess
[src]
const IID: nsIID
IID: nsIID = nsID(3589961307, 9288, 18054, [183, 193, 95, 241, 58, 203, 15, 201])
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 inISearchProcess
[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 inISearchProcess
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.