Struct xpcom::interfaces::nsIFindService
[−]
[src]
#[repr(C)]pub struct nsIFindService { /* fields omitted */ }
interface nsIFindService : nsISupports
Methods
impl nsIFindService
[src]
pub fn coerce<T: nsIFindServiceCoerce>(&self) -> &T
[src]
Cast this nsIFindService
to one of its base interfaces.
impl nsIFindService
[src]
pub unsafe fn GetSearchString(&self, aSearchString: &mut nsAString) -> nsresult
[src]
attribute AString searchString;
pub unsafe fn SetSearchString(&self, aSearchString: &nsAString) -> nsresult
[src]
attribute AString searchString;
pub unsafe fn GetReplaceString(
&self,
aReplaceString: &mut nsAString
) -> nsresult
[src]
&self,
aReplaceString: &mut nsAString
) -> nsresult
attribute AString replaceString;
pub unsafe fn SetReplaceString(&self, aReplaceString: &nsAString) -> nsresult
[src]
attribute AString replaceString;
pub unsafe fn GetFindBackwards(&self, aFindBackwards: *mut bool) -> nsresult
[src]
attribute boolean findBackwards;
pub unsafe fn SetFindBackwards(&self, aFindBackwards: bool) -> nsresult
[src]
attribute boolean findBackwards;
pub unsafe fn GetWrapFind(&self, aWrapFind: *mut bool) -> nsresult
[src]
attribute boolean wrapFind;
pub unsafe fn SetWrapFind(&self, aWrapFind: bool) -> nsresult
[src]
attribute boolean wrapFind;
pub unsafe fn GetEntireWord(&self, aEntireWord: *mut bool) -> nsresult
[src]
attribute boolean entireWord;
pub unsafe fn SetEntireWord(&self, aEntireWord: bool) -> nsresult
[src]
attribute boolean entireWord;
pub unsafe fn GetMatchCase(&self, aMatchCase: *mut bool) -> nsresult
[src]
attribute boolean matchCase;
pub unsafe fn SetMatchCase(&self, aMatchCase: bool) -> nsresult
[src]
attribute boolean matchCase;
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 nsIFindService
[src]
const IID: nsIID
IID: nsIID = nsID(1348515841, 13326, 4565, [190, 91, 179, 224, 99, 236, 106, 60])
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 nsIFindService
[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 nsIFindService
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.