pub struct BubbaEvent {
pub kind: &'static str,
pub value: Option<String>,
pub key: Option<String>,
}Expand description
The raw event payload passed to every handler.
Fields§
§kind: &'static strThe event name (“click”, “input”, “keypress”, …).
value: Option<String>Optional string payload (e.g. the current value of an <input>).
key: Option<String>Optional key name for keyboard events.
Trait Implementations§
Source§impl Clone for BubbaEvent
impl Clone for BubbaEvent
Source§fn clone(&self) -> BubbaEvent
fn clone(&self) -> BubbaEvent
Returns a duplicate 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 Freeze for BubbaEvent
impl RefUnwindSafe for BubbaEvent
impl Send for BubbaEvent
impl Sync for BubbaEvent
impl Unpin for BubbaEvent
impl UnsafeUnpin for BubbaEvent
impl UnwindSafe for BubbaEvent
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