pub enum OnOptionSelectEvent {
Mouse(MouseEvent),
Keyboard(KeyboardEvent),
}
Expand description
The event causing an option to be selected
Variants§
Mouse(MouseEvent)
Keyboard(KeyboardEvent)
Trait Implementations§
source§impl Clone for OnOptionSelectEvent
impl Clone for OnOptionSelectEvent
source§fn clone(&self) -> OnOptionSelectEvent
fn clone(&self) -> OnOptionSelectEvent
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 moresource§impl Debug for OnOptionSelectEvent
impl Debug for OnOptionSelectEvent
source§impl From<KeyboardEvent> for OnOptionSelectEvent
impl From<KeyboardEvent> for OnOptionSelectEvent
source§fn from(e: KeyboardEvent) -> Self
fn from(e: KeyboardEvent) -> Self
Converts to this type from the input type.
source§impl From<MouseEvent> for OnOptionSelectEvent
impl From<MouseEvent> for OnOptionSelectEvent
source§fn from(e: MouseEvent) -> Self
fn from(e: MouseEvent) -> Self
Converts to this type from the input type.
source§impl PartialEq for OnOptionSelectEvent
impl PartialEq for OnOptionSelectEvent
source§fn eq(&self, other: &OnOptionSelectEvent) -> bool
fn eq(&self, other: &OnOptionSelectEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OnOptionSelectEvent
Auto Trait Implementations§
impl Freeze for OnOptionSelectEvent
impl RefUnwindSafe for OnOptionSelectEvent
impl !Send for OnOptionSelectEvent
impl !Sync for OnOptionSelectEvent
impl Unpin for OnOptionSelectEvent
impl UnwindSafe for OnOptionSelectEvent
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.