Struct xpcom::interfaces::nsIQueryContentEventResult [] [src]

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

interface nsIQueryContentEventResult : nsISupports

/**
 * The result of query content events.  succeeded propery can be used always.
 * Whether other properties can be used or not depends on the event.
 * See nsIDOMWindowUtils.idl, which properites can be used was documented.
 */

Methods

impl nsIQueryContentEventResult
[src]

[src]

Cast this nsIQueryContentEventResult to one of its base interfaces.

impl nsIQueryContentEventResult
[src]

[src]

readonly attribute unsigned long offset;

[src]

readonly attribute unsigned long tentativeCaretOffset;

[src]

readonly attribute boolean reversed;

[src]

readonly attribute long left;

[src]

readonly attribute long top;

[src]

readonly attribute long width;

[src]

readonly attribute long height;

[src]

readonly attribute AString text;

[src]

void getCharacterRect (in long offset, out long left, out long top, out long width, out long height);

[src]

readonly attribute boolean succeeded;

[src]

readonly attribute boolean notFound;

[src]

readonly attribute boolean tentativeCaretOffsetNotFound;

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

IID: nsIID = nsID(3804470798, 13407, 17690, [167, 178, 224, 35, 13, 85, 88, 71])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIQueryContentEventResult
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.