Struct xpcom::interfaces::nsIDOMUIEvent
[−]
[src]
#[repr(C)]pub struct nsIDOMUIEvent { /* fields omitted */ }
interface nsIDOMUIEvent : nsISupports
Methods
impl nsIDOMUIEvent
[src]
pub fn coerce<T: nsIDOMUIEventCoerce>(&self) -> &T
[src]
Cast this nsIDOMUIEvent
to one of its base interfaces.
impl nsIDOMUIEvent
[src]
pub const SCROLL_PAGE_UP: i64
SCROLL_PAGE_UP: i64 = -32768
pub const SCROLL_PAGE_DOWN: i64
SCROLL_PAGE_DOWN: i64 = 32768
pub unsafe fn GetView(&self, aView: *mut *const mozIDOMWindowProxy) -> nsresult
[src]
readonly attribute mozIDOMWindowProxy view;
pub unsafe fn GetDetail(&self, aDetail: *mut int32_t) -> nsresult
[src]
readonly attribute long detail;
pub unsafe fn InitUIEvent(
&self,
typeArg: &nsAString,
canBubbleArg: bool,
cancelableArg: bool,
viewArg: *const mozIDOMWindow,
detailArg: int32_t
) -> nsresult
[src]
&self,
typeArg: &nsAString,
canBubbleArg: bool,
cancelableArg: bool,
viewArg: *const mozIDOMWindow,
detailArg: int32_t
) -> nsresult
void initUIEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in mozIDOMWindow viewArg, in long detailArg);
pub unsafe fn GetLayerX(&self, aLayerX: *mut int32_t) -> nsresult
[src]
readonly attribute long layerX;
pub unsafe fn GetLayerY(&self, aLayerY: *mut int32_t) -> nsresult
[src]
readonly attribute long layerY;
pub unsafe fn GetPageX(&self, aPageX: *mut int32_t) -> nsresult
[src]
readonly attribute long pageX;
pub unsafe fn GetPageY(&self, aPageY: *mut int32_t) -> nsresult
[src]
readonly attribute long pageY;
pub unsafe fn GetWhich(&self, aWhich: *mut uint32_t) -> nsresult
[src]
readonly attribute unsigned long which;
pub unsafe fn GetRangeParent(
&self,
aRangeParent: *mut *const nsIDOMNode
) -> nsresult
[src]
&self,
aRangeParent: *mut *const nsIDOMNode
) -> nsresult
readonly attribute nsIDOMNode rangeParent;
pub unsafe fn GetRangeOffset(&self, aRangeOffset: *mut int32_t) -> nsresult
[src]
readonly attribute long rangeOffset;
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 nsIDOMUIEvent
[src]
const IID: nsIID
IID: nsIID = nsID(2242794219, 14330, 20441, [162, 230, 199, 208, 242, 165, 33, 179])
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 nsIDOMUIEvent
[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 nsIDOMUIEvent
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.