Struct web_sys::XmlHttpRequestEventTarget
source · #[repr(transparent)]pub struct XmlHttpRequestEventTarget { /* private fields */ }
Expand description
The XMLHttpRequestEventTarget
object
This API requires the following crate features to be activated: XmlHttpRequestEventTarget
Implementations§
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
sourcepub fn onloadstart(&self) -> Option<Function>
pub fn onloadstart(&self) -> Option<Function>
The onloadstart
getter
This API requires the following crate features to be activated: XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
sourcepub fn set_onloadstart(&self, onloadstart: Option<&Function>)
pub fn set_onloadstart(&self, onloadstart: Option<&Function>)
The onloadstart
setter
This API requires the following crate features to be activated: XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
sourcepub fn onprogress(&self) -> Option<Function>
pub fn onprogress(&self) -> Option<Function>
The onprogress
getter
This API requires the following crate features to be activated: XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
sourcepub fn set_onprogress(&self, onprogress: Option<&Function>)
pub fn set_onprogress(&self, onprogress: Option<&Function>)
The onprogress
setter
This API requires the following crate features to be activated: XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
sourcepub fn set_onabort(&self, onabort: Option<&Function>)
pub fn set_onabort(&self, onabort: Option<&Function>)
The onabort
setter
This API requires the following crate features to be activated: XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
sourcepub fn set_onerror(&self, onerror: Option<&Function>)
pub fn set_onerror(&self, onerror: Option<&Function>)
The onerror
setter
This API requires the following crate features to be activated: XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
sourcepub fn set_onload(&self, onload: Option<&Function>)
pub fn set_onload(&self, onload: Option<&Function>)
The onload
setter
This API requires the following crate features to be activated: XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
sourcepub fn set_ontimeout(&self, ontimeout: Option<&Function>)
pub fn set_ontimeout(&self, ontimeout: Option<&Function>)
The ontimeout
setter
This API requires the following crate features to be activated: XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
source§impl XmlHttpRequestEventTarget
impl XmlHttpRequestEventTarget
sourcepub fn set_onloadend(&self, onloadend: Option<&Function>)
pub fn set_onloadend(&self, onloadend: Option<&Function>)
The onloadend
setter
This API requires the following crate features to be activated: XmlHttpRequestEventTarget
Trait Implementations§
source§impl AsRef<EventTarget> for XmlHttpRequestEventTarget
impl AsRef<EventTarget> for XmlHttpRequestEventTarget
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
source§impl AsRef<JsValue> for XmlHttpRequestEventTarget
impl AsRef<JsValue> for XmlHttpRequestEventTarget
source§impl AsRef<Object> for XmlHttpRequestEventTarget
impl AsRef<Object> for XmlHttpRequestEventTarget
source§impl AsRef<XmlHttpRequestEventTarget> for XmlHttpRequest
impl AsRef<XmlHttpRequestEventTarget> for XmlHttpRequest
source§fn as_ref(&self) -> &XmlHttpRequestEventTarget
fn as_ref(&self) -> &XmlHttpRequestEventTarget
source§impl AsRef<XmlHttpRequestEventTarget> for XmlHttpRequestUpload
impl AsRef<XmlHttpRequestEventTarget> for XmlHttpRequestUpload
source§fn as_ref(&self) -> &XmlHttpRequestEventTarget
fn as_ref(&self) -> &XmlHttpRequestEventTarget
source§impl Clone for XmlHttpRequestEventTarget
impl Clone for XmlHttpRequestEventTarget
source§fn clone(&self) -> XmlHttpRequestEventTarget
fn clone(&self) -> XmlHttpRequestEventTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for XmlHttpRequestEventTarget
impl Debug for XmlHttpRequestEventTarget
source§impl From<JsValue> for XmlHttpRequestEventTarget
impl From<JsValue> for XmlHttpRequestEventTarget
source§fn from(obj: JsValue) -> XmlHttpRequestEventTarget
fn from(obj: JsValue) -> XmlHttpRequestEventTarget
source§impl From<XmlHttpRequest> for XmlHttpRequestEventTarget
impl From<XmlHttpRequest> for XmlHttpRequestEventTarget
source§fn from(obj: XmlHttpRequest) -> XmlHttpRequestEventTarget
fn from(obj: XmlHttpRequest) -> XmlHttpRequestEventTarget
source§impl From<XmlHttpRequestEventTarget> for EventTarget
impl From<XmlHttpRequestEventTarget> for EventTarget
source§fn from(obj: XmlHttpRequestEventTarget) -> EventTarget
fn from(obj: XmlHttpRequestEventTarget) -> EventTarget
source§impl From<XmlHttpRequestEventTarget> for JsValue
impl From<XmlHttpRequestEventTarget> for JsValue
source§fn from(obj: XmlHttpRequestEventTarget) -> JsValue
fn from(obj: XmlHttpRequestEventTarget) -> JsValue
source§impl From<XmlHttpRequestEventTarget> for Object
impl From<XmlHttpRequestEventTarget> for Object
source§fn from(obj: XmlHttpRequestEventTarget) -> Object
fn from(obj: XmlHttpRequestEventTarget) -> Object
source§impl From<XmlHttpRequestUpload> for XmlHttpRequestEventTarget
impl From<XmlHttpRequestUpload> for XmlHttpRequestEventTarget
source§fn from(obj: XmlHttpRequestUpload) -> XmlHttpRequestEventTarget
fn from(obj: XmlHttpRequestUpload) -> XmlHttpRequestEventTarget
source§impl<'a> IntoWasmAbi for &'a XmlHttpRequestEventTarget
impl<'a> IntoWasmAbi for &'a XmlHttpRequestEventTarget
source§impl JsCast for XmlHttpRequestEventTarget
impl JsCast for XmlHttpRequestEventTarget
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moresource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
source§fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
T
. Read moresource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
source§impl<'a> OptionIntoWasmAbi for &'a XmlHttpRequestEventTarget
impl<'a> OptionIntoWasmAbi for &'a XmlHttpRequestEventTarget
source§impl RefFromWasmAbi for XmlHttpRequestEventTarget
impl RefFromWasmAbi for XmlHttpRequestEventTarget
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<XmlHttpRequestEventTarget>
type Anchor = ManuallyDrop<XmlHttpRequestEventTarget>
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read moreAuto Trait Implementations§
impl RefUnwindSafe for XmlHttpRequestEventTarget
impl Send for XmlHttpRequestEventTarget
impl Sync for XmlHttpRequestEventTarget
impl Unpin for XmlHttpRequestEventTarget
impl UnwindSafe for XmlHttpRequestEventTarget
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more