Struct xpcom::interfaces::nsITypeAheadFind [] [src]

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

interface nsITypeAheadFind : nsISupports

/****************************** nsTypeAheadFind ******************************/

Methods

impl nsITypeAheadFind
[src]

[src]

Cast this nsITypeAheadFind to one of its base interfaces.

impl nsITypeAheadFind
[src]

FIND_FOUND: i64 = 0
/******************************* Constants *******************************/

FIND_NOTFOUND: i64 = 1

FIND_WRAPPED: i64 = 2

FIND_PENDING: i64 = 3

[src]

/****************************** Initializer ******************************/

void init (in nsIDocShell aDocShell);

[src]

/***************************** Core functions ****************************/

unsigned short find (in AString aSearchString, in boolean aLinksOnly);

[src]

unsigned short findAgain (in boolean findBackwards, in boolean aLinksOnly);

[src]

nsIDOMRange getFoundRange ();

[src]

/**************************** Helper functions ***************************/

void setDocShell (in nsIDocShell aDocShell);

[src]

void setSelectionModeAndRepaint (in short toggle);

[src]

void collapseSelection ();

[src]

boolean isRangeVisible (in nsIDOMRange aRange, in boolean aMustBeInViewPort);

[src]

boolean isRangeRendered (in nsIDOMRange aRange);

[src]

/******************************* Attributes ******************************/

readonly attribute AString searchString;

[src]

attribute boolean caseSensitive;

[src]

attribute boolean caseSensitive;

[src]

attribute boolean entireWord;

[src]

attribute boolean entireWord;

readonly attribute nsIDOMElement foundLink;

[src]

readonly attribute nsIDOMElement foundEditable;

[src]

readonly attribute mozIDOMWindow currentWindow;

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

IID: nsIID = nsID(2924486184, 50559, 18066, [172, 116, 65, 14, 27, 237, 152, 183])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsITypeAheadFind
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.