Struct xpcom::interfaces::nsIDOMMutationEvent
[−]
[src]
#[repr(C)]pub struct nsIDOMMutationEvent { /* fields omitted */ }
interface nsIDOMMutationEvent : nsISupports
Methods
impl nsIDOMMutationEvent
[src]
pub fn coerce<T: nsIDOMMutationEventCoerce>(&self) -> &T
[src]
Cast this nsIDOMMutationEvent
to one of its base interfaces.
impl nsIDOMMutationEvent
[src]
pub const MODIFICATION: i64
MODIFICATION: i64 = 1
pub const ADDITION: i64
ADDITION: i64 = 2
pub const REMOVAL: i64
REMOVAL: i64 = 3
pub const SMIL: i64
SMIL: i64 = 4
pub unsafe fn GetRelatedNode(
&self,
aRelatedNode: *mut *const nsIDOMNode
) -> nsresult
[src]
&self,
aRelatedNode: *mut *const nsIDOMNode
) -> nsresult
readonly attribute nsIDOMNode relatedNode;
pub unsafe fn GetPrevValue(&self, aPrevValue: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString prevValue;
pub unsafe fn GetNewValue(&self, aNewValue: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString newValue;
pub unsafe fn GetAttrName(&self, aAttrName: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString attrName;
pub unsafe fn GetAttrChange(&self, aAttrChange: *mut uint16_t) -> nsresult
[src]
readonly attribute unsigned short attrChange;
pub unsafe fn InitMutationEvent(
&self,
typeArg: &nsAString,
canBubbleArg: bool,
cancelableArg: bool,
relatedNodeArg: *const nsIDOMNode,
prevValueArg: &nsAString,
newValueArg: &nsAString,
attrNameArg: &nsAString,
attrChangeArg: uint16_t
) -> nsresult
[src]
&self,
typeArg: &nsAString,
canBubbleArg: bool,
cancelableArg: bool,
relatedNodeArg: *const nsIDOMNode,
prevValueArg: &nsAString,
newValueArg: &nsAString,
attrNameArg: &nsAString,
attrChangeArg: uint16_t
) -> nsresult
void initMutationEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMNode relatedNodeArg, in DOMString prevValueArg, in DOMString newValueArg, in DOMString attrNameArg, in unsigned short attrChangeArg);
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 nsIDOMMutationEvent
[src]
const IID: nsIID
IID: nsIID = nsID(818518399, 48204, 18576, [184, 144, 254, 187, 106, 227, 5, 27])
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 nsIDOMMutationEvent
[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 nsIDOMMutationEvent
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.