Struct tauri_runtime::window::JsEventListenerKey
source · pub struct JsEventListenerKey {
pub window_label: Option<String>,
pub event: String,
}
Expand description
Key for a JS event listener.
Fields§
§window_label: Option<String>
The associated window label.
event: String
The event name.
Trait Implementations§
source§impl Clone for JsEventListenerKey
impl Clone for JsEventListenerKey
source§fn clone(&self) -> JsEventListenerKey
fn clone(&self) -> JsEventListenerKey
Returns a copy of the value. Read more
1.0.0 · 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 JsEventListenerKey
impl Debug for JsEventListenerKey
source§impl Hash for JsEventListenerKey
impl Hash for JsEventListenerKey
source§impl PartialEq<JsEventListenerKey> for JsEventListenerKey
impl PartialEq<JsEventListenerKey> for JsEventListenerKey
source§fn eq(&self, other: &JsEventListenerKey) -> bool
fn eq(&self, other: &JsEventListenerKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.