Struct xpcom::interfaces::nsIDOMPaintRequest [] [src]

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

interface nsIDOMPaintRequest : nsISupports

/**
 * These objects are exposed by the MozDOMAfterPaint event. Each one represents
 * a request to repaint a rectangle that was generated by the browser.
 */

Methods

impl nsIDOMPaintRequest
[src]

[src]

Cast this nsIDOMPaintRequest to one of its base interfaces.

impl nsIDOMPaintRequest
[src]

[src]

/**
   * The client rect where invalidation was triggered.
   */

readonly attribute nsIDOMClientRect clientRect;

[src]

/**
   * The reason for the request, as a string. If an empty string, then we don't know
   * the reason (this is common). Reasons include "scroll repaint", meaning that we
   * needed to repaint the rectangle due to scrolling, and "scroll copy", meaning
   * that we updated the rectangle due to scrolling but instead of painting
   * manually, we were able to do a copy from another area of the screen.
   */

[binaryname(XPCOMReason)] readonly attribute DOMString 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 nsIDOMPaintRequest
[src]

IID: nsIID = nsID(2662672015, 29604, 16858, [151, 144, 210, 31, 206, 253, 95, 250])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMPaintRequest
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.