Enum floem::event::EventListener
source · pub enum EventListener {
Show 30 variants
KeyDown,
KeyUp,
Click,
DoubleClick,
SecondaryClick,
DragStart,
DragEnd,
DragOver,
DragEnter,
DragLeave,
Drop,
PointerDown,
PointerMove,
PointerUp,
PointerEnter,
PointerLeave,
ImeEnabled,
ImeDisabled,
ImePreedit,
ImeCommit,
PointerWheel,
FocusGained,
FocusLost,
ThemeChanged,
WindowClosed,
WindowResized,
WindowMoved,
WindowGotFocus,
WindowLostFocus,
WindowMaximizeChanged,
}
Variants§
KeyDown
KeyUp
Click
DoubleClick
SecondaryClick
DragStart
DragEnd
DragOver
DragEnter
DragLeave
Drop
PointerDown
PointerMove
PointerUp
PointerEnter
PointerLeave
ImeEnabled
ImeDisabled
ImePreedit
ImeCommit
PointerWheel
FocusGained
FocusLost
ThemeChanged
WindowClosed
WindowResized
WindowMoved
WindowGotFocus
WindowLostFocus
WindowMaximizeChanged
Trait Implementations§
source§impl Debug for EventListener
impl Debug for EventListener
source§impl Hash for EventListener
impl Hash for EventListener
source§impl PartialEq for EventListener
impl PartialEq for EventListener
source§fn eq(&self, other: &EventListener) -> bool
fn eq(&self, other: &EventListener) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EventListener
impl StructuralEq for EventListener
impl StructuralPartialEq for EventListener
Auto Trait Implementations§
impl RefUnwindSafe for EventListener
impl Send for EventListener
impl Sync for EventListener
impl Unpin for EventListener
impl UnwindSafe for EventListener
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more