Enum freya_core::dom_events::DomEventData
source · pub enum DomEventData {
Mouse(MouseData),
Keyboard(KeyboardData),
Wheel(WheelData),
Touch(TouchData),
Pointer(PointerData),
}
Expand description
Data of a DOM event.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for DomEventData
impl Clone for DomEventData
source§fn clone(&self) -> DomEventData
fn clone(&self) -> DomEventData
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 moreAuto Trait Implementations§
impl RefUnwindSafe for DomEventData
impl Send for DomEventData
impl Sync for DomEventData
impl Unpin for DomEventData
impl UnwindSafe for DomEventData
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