pub enum EventType {
Show 48 variants
Nothing,
Delete,
Destroy,
Expose,
MotionNotify,
ButtonPress,
DoubleButtonPress,
TripleButtonPress,
ButtonRelease,
KeyPress,
KeyRelease,
EnterNotify,
LeaveNotify,
FocusChange,
Configure,
Map,
Unmap,
PropertyNotify,
SelectionClear,
SelectionRequest,
SelectionNotify,
ProximityIn,
ProximityOut,
DragEnter,
DragLeave,
DragMotion,
DragStatus,
DropStart,
DropFinished,
ClientEvent,
VisibilityNotify,
Scroll,
WindowState,
Setting,
OwnerChange,
GrabBroken,
Damage,
TouchBegin,
TouchUpdate,
TouchEnd,
TouchCancel,
TouchpadSwipe,
TouchpadPinch,
PadButtonPress,
PadButtonRelease,
PadRing,
PadStrip,
PadGroupMode,
// some variants omitted
}
Variants§
Nothing
Delete
Destroy
Expose
MotionNotify
ButtonPress
DoubleButtonPress
TripleButtonPress
ButtonRelease
KeyPress
KeyRelease
EnterNotify
LeaveNotify
FocusChange
Configure
Map
Unmap
PropertyNotify
SelectionClear
SelectionRequest
SelectionNotify
ProximityIn
ProximityOut
DragEnter
DragLeave
DragMotion
DragStatus
DropStart
DropFinished
ClientEvent
VisibilityNotify
Scroll
WindowState
Setting
OwnerChange
GrabBroken
Damage
TouchBegin
TouchUpdate
TouchEnd
TouchCancel
TouchpadSwipe
TouchpadPinch
PadButtonPress
PadButtonRelease
PadRing
PadStrip
PadGroupMode
Trait Implementations§
Source§impl<'a> FromValueOptional<'a> for EventType
impl<'a> FromValueOptional<'a> for EventType
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl Ord for EventType
impl Ord for EventType
Source§impl PartialOrd for EventType
impl PartialOrd for EventType
Source§impl StaticType for EventType
impl StaticType for EventType
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.