Struct xpcom::interfaces::nsISelectionListener [] [src]

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

interface nsISelectionListener : nsISupports

Methods

impl nsISelectionListener
[src]

[src]

Cast this nsISelectionListener to one of its base interfaces.

impl nsISelectionListener
[src]

NO_REASON: i64 = 0

DRAG_REASON: i64 = 1

MOUSEDOWN_REASON: i64 = 2

MOUSEUP_REASON: i64 = 4

KEYPRESS_REASON: i64 = 8

SELECTALL_REASON: i64 = 16

COLLAPSETOSTART_REASON: i64 = 32

COLLAPSETOEND_REASON: i64 = 64

IME_REASON: i64 = 128

[src]

void notifySelectionChanged (in nsIDOMDocument doc, in nsISelection sel, in short reason);

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

IID: nsIID = nsID(1164468889, 44587, 18108, [149, 2, 197, 108, 53, 105, 26, 185])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISelectionListener
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.