Struct xpcom::interfaces::nsIFind [] [src]

#[repr(C)]
pub struct nsIFind { /* fields omitted */ }

interface nsIFind : nsISupports

Methods

impl nsIFind
[src]

[src]

Cast this nsIFind to one of its base interfaces.

impl nsIFind
[src]

[src]

attribute boolean findBackwards;

[src]

attribute boolean findBackwards;

[src]

attribute boolean caseSensitive;

[src]

attribute boolean caseSensitive;

[src]

attribute boolean entireWord;

[src]

attribute boolean entireWord;

[src]

/**
   * Find some text in the current context. The implementation is
   * responsible for performing the find and highlighting the text.
   *
   * @param aPatText     The text to search for.
   * @param aSearchRange A Range specifying domain of search.
   * @param aStartPoint  A Range specifying search start point.
   *                     If not collapsed, we'll start from
   *                     end (forward) or start (backward).
   * @param aEndPoint    A Range specifying search end point.
   *                     If not collapsed, we'll end at
   *                     end (forward) or start (backward).
   * @retval             A range spanning the match that was found (or null).
   */

nsIDOMRange Find (in wstring aPatText, in nsIDOMRange aSearchRange, in nsIDOMRange aStartPoint, in nsIDOMRange aEndPoint);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIFind
[src]

IID: nsIID = nsID(1084989712, 10838, 18040, [190, 144, 226, 193, 122, 154, 231, 215])

[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 nsIFind
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIFind
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.