#[non_exhaustive]pub enum EventTarget {
Any,
AnyLabel(&'static str),
App,
Window(&'static str),
Webview(&'static str),
WebviewWindow(&'static str),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Any
AnyLabel(&'static str)
App
Window(&'static str)
Webview(&'static str)
WebviewWindow(&'static str)
Trait Implementations§
Source§impl Clone for EventTarget
impl Clone for EventTarget
Source§fn clone(&self) -> EventTarget
fn clone(&self) -> EventTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EventTarget
impl Debug for EventTarget
Source§impl Default for EventTarget
impl Default for EventTarget
Source§fn default() -> EventTarget
fn default() -> EventTarget
Returns the “default value” for a type. Read more
Source§impl Deserialize<'static> for EventTarget
impl Deserialize<'static> for EventTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EventTarget
impl PartialEq for EventTarget
Source§impl Serialize for EventTarget
impl Serialize for EventTarget
impl Copy for EventTarget
impl Eq for EventTarget
impl StructuralPartialEq for EventTarget
Auto Trait Implementations§
impl Freeze for EventTarget
impl RefUnwindSafe for EventTarget
impl Send for EventTarget
impl Sync for EventTarget
impl Unpin for EventTarget
impl UnwindSafe for EventTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.