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]
pub fn coerce<T: nsIDOMPaintRequestCoerce>(&self) -> &T
[src]
Cast this nsIDOMPaintRequest
to one of its base interfaces.
impl nsIDOMPaintRequest
[src]
pub unsafe fn GetClientRect(
&self,
aClientRect: *mut *const nsIDOMClientRect
) -> nsresult
[src]
&self,
aClientRect: *mut *const nsIDOMClientRect
) -> nsresult
/**
* The client rect where invalidation was triggered.
*/
readonly attribute nsIDOMClientRect clientRect;
pub unsafe fn GetXPCOMReason(&self, aReason: &mut nsAString) -> nsresult
[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>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIDOMPaintRequest
[src]
const IID: nsIID
IID: nsIID = nsID(2662672015, 29604, 16858, [151, 144, 210, 31, 206, 253, 95, 250])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIDOMPaintRequest
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.