pub struct JsInteropDispatch {
pub target: Option<String>,
pub event: String,
pub detail: Value,
pub bubbles: bool,
}Expand description
One browser interop dispatch instruction.
Fields§
§target: Option<String>§event: String§detail: Value§bubbles: boolTrait Implementations§
Source§impl Clone for JsInteropDispatch
impl Clone for JsInteropDispatch
Source§fn clone(&self) -> JsInteropDispatch
fn clone(&self) -> JsInteropDispatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsInteropDispatch
impl Debug for JsInteropDispatch
Source§impl<'de> Deserialize<'de> for JsInteropDispatch
impl<'de> Deserialize<'de> for JsInteropDispatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JsInteropDispatch
impl PartialEq for JsInteropDispatch
Source§fn eq(&self, other: &JsInteropDispatch) -> bool
fn eq(&self, other: &JsInteropDispatch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JsInteropDispatch
impl Serialize for JsInteropDispatch
impl StructuralPartialEq for JsInteropDispatch
Auto Trait Implementations§
impl Freeze for JsInteropDispatch
impl RefUnwindSafe for JsInteropDispatch
impl Send for JsInteropDispatch
impl Sync for JsInteropDispatch
impl Unpin for JsInteropDispatch
impl UnsafeUnpin for JsInteropDispatch
impl UnwindSafe for JsInteropDispatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more