Enum dioxus_html::EventData
source · #[non_exhaustive]pub enum EventData {
Show 18 variants
Mouse(MouseData),
Clipboard(ClipboardData),
Composition(CompositionData),
Keyboard(KeyboardData),
Focus(FocusData),
Form(FormData),
Drag(DragData),
Pointer(PointerData),
Selection(SelectionData),
Touch(TouchData),
Scroll(ScrollData),
Wheel(WheelData),
Media(MediaData),
Animation(AnimationData),
Transition(TransitionData),
Toggle(ToggleData),
Image(ImageData),
Mounted,
}
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.
Mouse(MouseData)
Clipboard(ClipboardData)
Composition(CompositionData)
Keyboard(KeyboardData)
Focus(FocusData)
Form(FormData)
Drag(DragData)
Pointer(PointerData)
Selection(SelectionData)
Touch(TouchData)
Scroll(ScrollData)
Wheel(WheelData)
Media(MediaData)
Animation(AnimationData)
Transition(TransitionData)
Toggle(ToggleData)
Image(ImageData)
Mounted
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for EventData
impl<'de> Deserialize<'de> for EventData
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<EventData> for EventData
impl PartialEq<EventData> for EventData
impl StructuralPartialEq for EventData
Auto Trait Implementations§
impl !RefUnwindSafe for EventData
impl !Send for EventData
impl !Sync for EventData
impl Unpin for EventData
impl !UnwindSafe for EventData
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