Struct xpcom::interfaces::nsIDOMFocusEvent
[−]
[src]
#[repr(C)]pub struct nsIDOMFocusEvent { /* fields omitted */ }
interface nsIDOMFocusEvent : nsIDOMUIEvent
Methods
impl nsIDOMFocusEvent
[src]
pub fn coerce<T: nsIDOMFocusEventCoerce>(&self) -> &T
[src]
Cast this nsIDOMFocusEvent
to one of its base interfaces.
impl nsIDOMFocusEvent
[src]
pub unsafe fn GetRelatedTarget(
&self,
aRelatedTarget: *mut *const nsIDOMEventTarget
) -> nsresult
[src]
&self,
aRelatedTarget: *mut *const nsIDOMEventTarget
) -> nsresult
readonly attribute nsIDOMEventTarget relatedTarget;
Methods from Deref<Target = nsIDOMUIEvent>
pub fn coerce<T: nsIDOMUIEventCoerce>(&self) -> &T
[src]
Cast this nsIDOMUIEvent
to one of its base interfaces.
pub const SCROLL_PAGE_UP: i64
pub const SCROLL_PAGE_DOWN: i64
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;
Trait Implementations
impl XpCom for nsIDOMFocusEvent
[src]
const IID: nsIID
IID: nsIID = nsID(3467354061, 11438, 17099, [182, 146, 239, 250, 126, 196, 136, 72])
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 nsIDOMFocusEvent
[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 nsIDOMFocusEvent
[src]
type Target = nsIDOMUIEvent
The resulting type after dereferencing.
fn deref(&self) -> &nsIDOMUIEvent
[src]
Dereferences the value.