Struct xpcom::interfaces::nsIFormSubmitObserver
[−]
[src]
#[repr(C)]pub struct nsIFormSubmitObserver { /* fields omitted */ }
interface nsIFormSubmitObserver : nsISupports
Methods
impl nsIFormSubmitObserver
[src]
pub fn coerce<T: nsIFormSubmitObserverCoerce>(&self) -> &T
[src]
Cast this nsIFormSubmitObserver
to one of its base interfaces.
impl nsIFormSubmitObserver
[src]
pub unsafe fn Notify(
&self,
formNode: *const nsIDOMHTMLFormElement,
window: *const mozIDOMWindow,
actionURL: *const nsIURI,
cancelSubmit: *mut bool
) -> nsresult
[src]
&self,
formNode: *const nsIDOMHTMLFormElement,
window: *const mozIDOMWindow,
actionURL: *const nsIURI,
cancelSubmit: *mut bool
) -> nsresult
void notify (in nsIDOMHTMLFormElement formNode, in mozIDOMWindow window, in nsIURI actionURL, out boolean cancelSubmit);
pub unsafe fn NotifyInvalidSubmit(
&self,
formNode: *const nsIDOMHTMLFormElement,
invalidElements: *const nsIArray
) -> nsresult
[src]
&self,
formNode: *const nsIDOMHTMLFormElement,
invalidElements: *const nsIArray
) -> nsresult
void notifyInvalidSubmit (in nsIDOMHTMLFormElement formNode, in nsIArray invalidElements);
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 nsIFormSubmitObserver
[src]
const IID: nsIID
IID: nsIID = nsID(2256320487, 33629, 16523, [151, 136, 210, 131, 77, 40, 78, 3])
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 nsIFormSubmitObserver
[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 nsIFormSubmitObserver
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.