Struct tauri_runtime::window::JsEventListenerKey
source · [−]Expand description
Key for a JS event listener.
Fields
window_label: Option<String>
The associated window label.
event: String
The event name.
Trait Implementations
sourceimpl Clone for JsEventListenerKey
impl Clone for JsEventListenerKey
sourcefn clone(&self) -> JsEventListenerKey
fn clone(&self) -> JsEventListenerKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JsEventListenerKey
impl Debug for JsEventListenerKey
sourceimpl Hash for JsEventListenerKey
impl Hash for JsEventListenerKey
sourceimpl PartialEq<JsEventListenerKey> for JsEventListenerKey
impl PartialEq<JsEventListenerKey> for JsEventListenerKey
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &JsEventListenerKey) -> bool
fn ne(&self, other: &JsEventListenerKey) -> bool
This method tests for !=
.
impl Eq for JsEventListenerKey
impl StructuralEq for JsEventListenerKey
impl StructuralPartialEq for JsEventListenerKey
Auto Trait Implementations
impl RefUnwindSafe for JsEventListenerKey
impl Send for JsEventListenerKey
impl Sync for JsEventListenerKey
impl Unpin for JsEventListenerKey
impl UnwindSafe for JsEventListenerKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more