#[repr(transparent)]pub struct SDL_EventType(pub c_uint);Expand description
The types of events that can be delivered.
Available Since: This enum is available since SDL 3.2.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_EventType
impl SDL_EventType
Sourcepub const SDL_EVENT_FIRST: SDL_EventType
pub const SDL_EVENT_FIRST: SDL_EventType
< Unused (do not remove)
Sourcepub const SDL_EVENT_QUIT: SDL_EventType
pub const SDL_EVENT_QUIT: SDL_EventType
< User-requested quit
Sourcepub const SDL_EVENT_TERMINATING: SDL_EventType
pub const SDL_EVENT_TERMINATING: SDL_EventType
< The application is being terminated by the OS. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationWillTerminate() Called on Android in onDestroy()
Sourcepub const SDL_EVENT_LOW_MEMORY: SDL_EventType
pub const SDL_EVENT_LOW_MEMORY: SDL_EventType
< The application is low on memory, free memory if possible. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationDidReceiveMemoryWarning() Called on Android in onTrimMemory()
Sourcepub const SDL_EVENT_WILL_ENTER_BACKGROUND: SDL_EventType
pub const SDL_EVENT_WILL_ENTER_BACKGROUND: SDL_EventType
< The application is about to enter the background. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationWillResignActive() Called on Android in onPause()
Sourcepub const SDL_EVENT_DID_ENTER_BACKGROUND: SDL_EventType
pub const SDL_EVENT_DID_ENTER_BACKGROUND: SDL_EventType
< The application did enter the background and may not get CPU for some time. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationDidEnterBackground() Called on Android in onPause()
Sourcepub const SDL_EVENT_WILL_ENTER_FOREGROUND: SDL_EventType
pub const SDL_EVENT_WILL_ENTER_FOREGROUND: SDL_EventType
< The application is about to enter the foreground. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationWillEnterForeground() Called on Android in onResume()
Sourcepub const SDL_EVENT_DID_ENTER_FOREGROUND: SDL_EventType
pub const SDL_EVENT_DID_ENTER_FOREGROUND: SDL_EventType
< The application is now interactive. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationDidBecomeActive() Called on Android in onResume()
Sourcepub const SDL_EVENT_LOCALE_CHANGED: SDL_EventType
pub const SDL_EVENT_LOCALE_CHANGED: SDL_EventType
< The user’s locale preferences have changed.
Sourcepub const SDL_EVENT_SYSTEM_THEME_CHANGED: SDL_EventType
pub const SDL_EVENT_SYSTEM_THEME_CHANGED: SDL_EventType
< The system theme changed
Sourcepub const SDL_EVENT_DISPLAY_ORIENTATION: SDL_EventType
pub const SDL_EVENT_DISPLAY_ORIENTATION: SDL_EventType
< Display orientation has changed to data1
Sourcepub const SDL_EVENT_DISPLAY_ADDED: SDL_EventType
pub const SDL_EVENT_DISPLAY_ADDED: SDL_EventType
< Display has been added to the system
Sourcepub const SDL_EVENT_DISPLAY_REMOVED: SDL_EventType
pub const SDL_EVENT_DISPLAY_REMOVED: SDL_EventType
< Display has been removed from the system
Sourcepub const SDL_EVENT_DISPLAY_MOVED: SDL_EventType
pub const SDL_EVENT_DISPLAY_MOVED: SDL_EventType
< Display has changed position
Sourcepub const SDL_EVENT_DISPLAY_DESKTOP_MODE_CHANGED: SDL_EventType
pub const SDL_EVENT_DISPLAY_DESKTOP_MODE_CHANGED: SDL_EventType
< Display has changed desktop mode
Sourcepub const SDL_EVENT_DISPLAY_CURRENT_MODE_CHANGED: SDL_EventType
pub const SDL_EVENT_DISPLAY_CURRENT_MODE_CHANGED: SDL_EventType
< Display has changed current mode
Sourcepub const SDL_EVENT_DISPLAY_CONTENT_SCALE_CHANGED: SDL_EventType
pub const SDL_EVENT_DISPLAY_CONTENT_SCALE_CHANGED: SDL_EventType
< Display has changed content scale
Sourcepub const SDL_EVENT_DISPLAY_USABLE_BOUNDS_CHANGED: SDL_EventType
pub const SDL_EVENT_DISPLAY_USABLE_BOUNDS_CHANGED: SDL_EventType
< Display has changed usable bounds
pub const SDL_EVENT_DISPLAY_FIRST: SDL_EventType
pub const SDL_EVENT_DISPLAY_LAST: SDL_EventType
Sourcepub const SDL_EVENT_WINDOW_SHOWN: SDL_EventType
pub const SDL_EVENT_WINDOW_SHOWN: SDL_EventType
< Window has been shown
Sourcepub const SDL_EVENT_WINDOW_HIDDEN: SDL_EventType
pub const SDL_EVENT_WINDOW_HIDDEN: SDL_EventType
< Window has been hidden
Sourcepub const SDL_EVENT_WINDOW_EXPOSED: SDL_EventType
pub const SDL_EVENT_WINDOW_EXPOSED: SDL_EventType
< Window has been exposed and should be redrawn, and can be redrawn directly from event watchers for this event. data1 is 1 for live-resize expose events, 0 otherwise.
Sourcepub const SDL_EVENT_WINDOW_MOVED: SDL_EventType
pub const SDL_EVENT_WINDOW_MOVED: SDL_EventType
< Window has been moved to data1, data2
Sourcepub const SDL_EVENT_WINDOW_RESIZED: SDL_EventType
pub const SDL_EVENT_WINDOW_RESIZED: SDL_EventType
< Window has been resized to data1xdata2
Sourcepub const SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED: SDL_EventType
pub const SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED: SDL_EventType
< The pixel size of the window has changed to data1xdata2
Sourcepub const SDL_EVENT_WINDOW_METAL_VIEW_RESIZED: SDL_EventType
pub const SDL_EVENT_WINDOW_METAL_VIEW_RESIZED: SDL_EventType
< The pixel size of a Metal view associated with the window has changed
Sourcepub const SDL_EVENT_WINDOW_MINIMIZED: SDL_EventType
pub const SDL_EVENT_WINDOW_MINIMIZED: SDL_EventType
< Window has been minimized
Sourcepub const SDL_EVENT_WINDOW_MAXIMIZED: SDL_EventType
pub const SDL_EVENT_WINDOW_MAXIMIZED: SDL_EventType
< Window has been maximized
Sourcepub const SDL_EVENT_WINDOW_RESTORED: SDL_EventType
pub const SDL_EVENT_WINDOW_RESTORED: SDL_EventType
< Window has been restored to normal size and position
Sourcepub const SDL_EVENT_WINDOW_MOUSE_ENTER: SDL_EventType
pub const SDL_EVENT_WINDOW_MOUSE_ENTER: SDL_EventType
< Window has gained mouse focus
Sourcepub const SDL_EVENT_WINDOW_MOUSE_LEAVE: SDL_EventType
pub const SDL_EVENT_WINDOW_MOUSE_LEAVE: SDL_EventType
< Window has lost mouse focus
Sourcepub const SDL_EVENT_WINDOW_FOCUS_GAINED: SDL_EventType
pub const SDL_EVENT_WINDOW_FOCUS_GAINED: SDL_EventType
< Window has gained keyboard focus
Sourcepub const SDL_EVENT_WINDOW_FOCUS_LOST: SDL_EventType
pub const SDL_EVENT_WINDOW_FOCUS_LOST: SDL_EventType
< Window has lost keyboard focus
Sourcepub const SDL_EVENT_WINDOW_CLOSE_REQUESTED: SDL_EventType
pub const SDL_EVENT_WINDOW_CLOSE_REQUESTED: SDL_EventType
< The window manager requests that the window be closed
Sourcepub const SDL_EVENT_WINDOW_HIT_TEST: SDL_EventType
pub const SDL_EVENT_WINDOW_HIT_TEST: SDL_EventType
< Window had a hit test that wasn’t SDL_HITTEST_NORMAL
Sourcepub const SDL_EVENT_WINDOW_ICCPROF_CHANGED: SDL_EventType
pub const SDL_EVENT_WINDOW_ICCPROF_CHANGED: SDL_EventType
< The window’s ICC profile has changed
Sourcepub const SDL_EVENT_WINDOW_DISPLAY_CHANGED: SDL_EventType
pub const SDL_EVENT_WINDOW_DISPLAY_CHANGED: SDL_EventType
< Window has been moved to display data1
Sourcepub const SDL_EVENT_WINDOW_DISPLAY_SCALE_CHANGED: SDL_EventType
pub const SDL_EVENT_WINDOW_DISPLAY_SCALE_CHANGED: SDL_EventType
< Window display scale has been changed
Sourcepub const SDL_EVENT_WINDOW_SAFE_AREA_CHANGED: SDL_EventType
pub const SDL_EVENT_WINDOW_SAFE_AREA_CHANGED: SDL_EventType
< The window safe area has been changed
Sourcepub const SDL_EVENT_WINDOW_OCCLUDED: SDL_EventType
pub const SDL_EVENT_WINDOW_OCCLUDED: SDL_EventType
< The window has been occluded
Sourcepub const SDL_EVENT_WINDOW_ENTER_FULLSCREEN: SDL_EventType
pub const SDL_EVENT_WINDOW_ENTER_FULLSCREEN: SDL_EventType
< The window has entered fullscreen mode
Sourcepub const SDL_EVENT_WINDOW_LEAVE_FULLSCREEN: SDL_EventType
pub const SDL_EVENT_WINDOW_LEAVE_FULLSCREEN: SDL_EventType
< The window has left fullscreen mode
Sourcepub const SDL_EVENT_WINDOW_DESTROYED: SDL_EventType
pub const SDL_EVENT_WINDOW_DESTROYED: SDL_EventType
< The window with the associated ID is being or has been destroyed. If this message is being handled in an event watcher, the window handle is still valid and can still be used to retrieve any properties associated with the window. Otherwise, the handle has already been destroyed and all resources associated with it are invalid
Sourcepub const SDL_EVENT_WINDOW_HDR_STATE_CHANGED: SDL_EventType
pub const SDL_EVENT_WINDOW_HDR_STATE_CHANGED: SDL_EventType
< Window HDR properties have changed
pub const SDL_EVENT_WINDOW_FIRST: SDL_EventType
pub const SDL_EVENT_WINDOW_LAST: SDL_EventType
Sourcepub const SDL_EVENT_KEY_DOWN: SDL_EventType
pub const SDL_EVENT_KEY_DOWN: SDL_EventType
< Key pressed
Sourcepub const SDL_EVENT_KEY_UP: SDL_EventType
pub const SDL_EVENT_KEY_UP: SDL_EventType
< Key released
Sourcepub const SDL_EVENT_TEXT_EDITING: SDL_EventType
pub const SDL_EVENT_TEXT_EDITING: SDL_EventType
< Keyboard text editing (composition)
Sourcepub const SDL_EVENT_TEXT_INPUT: SDL_EventType
pub const SDL_EVENT_TEXT_INPUT: SDL_EventType
< Keyboard text input
Sourcepub const SDL_EVENT_KEYMAP_CHANGED: SDL_EventType
pub const SDL_EVENT_KEYMAP_CHANGED: SDL_EventType
< Keymap changed due to a system event such as an input language or keyboard layout change.
Sourcepub const SDL_EVENT_KEYBOARD_ADDED: SDL_EventType
pub const SDL_EVENT_KEYBOARD_ADDED: SDL_EventType
< A new keyboard has been inserted into the system
Sourcepub const SDL_EVENT_KEYBOARD_REMOVED: SDL_EventType
pub const SDL_EVENT_KEYBOARD_REMOVED: SDL_EventType
< A keyboard has been removed
Sourcepub const SDL_EVENT_TEXT_EDITING_CANDIDATES: SDL_EventType
pub const SDL_EVENT_TEXT_EDITING_CANDIDATES: SDL_EventType
< Keyboard text editing candidates
Sourcepub const SDL_EVENT_SCREEN_KEYBOARD_SHOWN: SDL_EventType
pub const SDL_EVENT_SCREEN_KEYBOARD_SHOWN: SDL_EventType
< The on-screen keyboard has been shown
Sourcepub const SDL_EVENT_SCREEN_KEYBOARD_HIDDEN: SDL_EventType
pub const SDL_EVENT_SCREEN_KEYBOARD_HIDDEN: SDL_EventType
< The on-screen keyboard has been hidden
Sourcepub const SDL_EVENT_MOUSE_MOTION: SDL_EventType
pub const SDL_EVENT_MOUSE_MOTION: SDL_EventType
< Mouse moved
Sourcepub const SDL_EVENT_MOUSE_BUTTON_DOWN: SDL_EventType
pub const SDL_EVENT_MOUSE_BUTTON_DOWN: SDL_EventType
< Mouse button pressed
Sourcepub const SDL_EVENT_MOUSE_BUTTON_UP: SDL_EventType
pub const SDL_EVENT_MOUSE_BUTTON_UP: SDL_EventType
< Mouse button released
Sourcepub const SDL_EVENT_MOUSE_WHEEL: SDL_EventType
pub const SDL_EVENT_MOUSE_WHEEL: SDL_EventType
< Mouse wheel motion
Sourcepub const SDL_EVENT_MOUSE_ADDED: SDL_EventType
pub const SDL_EVENT_MOUSE_ADDED: SDL_EventType
< A new mouse has been inserted into the system
Sourcepub const SDL_EVENT_MOUSE_REMOVED: SDL_EventType
pub const SDL_EVENT_MOUSE_REMOVED: SDL_EventType
< A mouse has been removed
Sourcepub const SDL_EVENT_JOYSTICK_AXIS_MOTION: SDL_EventType
pub const SDL_EVENT_JOYSTICK_AXIS_MOTION: SDL_EventType
< Joystick axis motion
Sourcepub const SDL_EVENT_JOYSTICK_BALL_MOTION: SDL_EventType
pub const SDL_EVENT_JOYSTICK_BALL_MOTION: SDL_EventType
< Joystick trackball motion
Sourcepub const SDL_EVENT_JOYSTICK_HAT_MOTION: SDL_EventType
pub const SDL_EVENT_JOYSTICK_HAT_MOTION: SDL_EventType
< Joystick hat position change
Sourcepub const SDL_EVENT_JOYSTICK_BUTTON_DOWN: SDL_EventType
pub const SDL_EVENT_JOYSTICK_BUTTON_DOWN: SDL_EventType
< Joystick button pressed
Sourcepub const SDL_EVENT_JOYSTICK_BUTTON_UP: SDL_EventType
pub const SDL_EVENT_JOYSTICK_BUTTON_UP: SDL_EventType
< Joystick button released
Sourcepub const SDL_EVENT_JOYSTICK_ADDED: SDL_EventType
pub const SDL_EVENT_JOYSTICK_ADDED: SDL_EventType
< A new joystick has been inserted into the system
Sourcepub const SDL_EVENT_JOYSTICK_REMOVED: SDL_EventType
pub const SDL_EVENT_JOYSTICK_REMOVED: SDL_EventType
< An opened joystick has been removed
Sourcepub const SDL_EVENT_JOYSTICK_BATTERY_UPDATED: SDL_EventType
pub const SDL_EVENT_JOYSTICK_BATTERY_UPDATED: SDL_EventType
< Joystick battery level change
Sourcepub const SDL_EVENT_JOYSTICK_UPDATE_COMPLETE: SDL_EventType
pub const SDL_EVENT_JOYSTICK_UPDATE_COMPLETE: SDL_EventType
< Joystick update is complete
Sourcepub const SDL_EVENT_GAMEPAD_AXIS_MOTION: SDL_EventType
pub const SDL_EVENT_GAMEPAD_AXIS_MOTION: SDL_EventType
< Gamepad axis motion
Sourcepub const SDL_EVENT_GAMEPAD_BUTTON_DOWN: SDL_EventType
pub const SDL_EVENT_GAMEPAD_BUTTON_DOWN: SDL_EventType
< Gamepad button pressed
Sourcepub const SDL_EVENT_GAMEPAD_BUTTON_UP: SDL_EventType
pub const SDL_EVENT_GAMEPAD_BUTTON_UP: SDL_EventType
< Gamepad button released
Sourcepub const SDL_EVENT_GAMEPAD_ADDED: SDL_EventType
pub const SDL_EVENT_GAMEPAD_ADDED: SDL_EventType
< A new gamepad has been inserted into the system
Sourcepub const SDL_EVENT_GAMEPAD_REMOVED: SDL_EventType
pub const SDL_EVENT_GAMEPAD_REMOVED: SDL_EventType
< A gamepad has been removed
Sourcepub const SDL_EVENT_GAMEPAD_REMAPPED: SDL_EventType
pub const SDL_EVENT_GAMEPAD_REMAPPED: SDL_EventType
< The gamepad mapping was updated
Sourcepub const SDL_EVENT_GAMEPAD_TOUCHPAD_DOWN: SDL_EventType
pub const SDL_EVENT_GAMEPAD_TOUCHPAD_DOWN: SDL_EventType
< Gamepad touchpad was touched
Sourcepub const SDL_EVENT_GAMEPAD_TOUCHPAD_MOTION: SDL_EventType
pub const SDL_EVENT_GAMEPAD_TOUCHPAD_MOTION: SDL_EventType
< Gamepad touchpad finger was moved
Sourcepub const SDL_EVENT_GAMEPAD_TOUCHPAD_UP: SDL_EventType
pub const SDL_EVENT_GAMEPAD_TOUCHPAD_UP: SDL_EventType
< Gamepad touchpad finger was lifted
Sourcepub const SDL_EVENT_GAMEPAD_SENSOR_UPDATE: SDL_EventType
pub const SDL_EVENT_GAMEPAD_SENSOR_UPDATE: SDL_EventType
< Gamepad sensor was updated
Sourcepub const SDL_EVENT_GAMEPAD_UPDATE_COMPLETE: SDL_EventType
pub const SDL_EVENT_GAMEPAD_UPDATE_COMPLETE: SDL_EventType
< Gamepad update is complete
Sourcepub const SDL_EVENT_GAMEPAD_STEAM_HANDLE_UPDATED: SDL_EventType
pub const SDL_EVENT_GAMEPAD_STEAM_HANDLE_UPDATED: SDL_EventType
< Gamepad Steam handle has changed
pub const SDL_EVENT_FINGER_DOWN: SDL_EventType
pub const SDL_EVENT_FINGER_UP: SDL_EventType
pub const SDL_EVENT_FINGER_MOTION: SDL_EventType
pub const SDL_EVENT_FINGER_CANCELED: SDL_EventType
Sourcepub const SDL_EVENT_PINCH_BEGIN: SDL_EventType
pub const SDL_EVENT_PINCH_BEGIN: SDL_EventType
< Pinch gesture started
Sourcepub const SDL_EVENT_PINCH_UPDATE: SDL_EventType
pub const SDL_EVENT_PINCH_UPDATE: SDL_EventType
< Pinch gesture updated
Sourcepub const SDL_EVENT_PINCH_END: SDL_EventType
pub const SDL_EVENT_PINCH_END: SDL_EventType
< Pinch gesture ended
Sourcepub const SDL_EVENT_CLIPBOARD_UPDATE: SDL_EventType
pub const SDL_EVENT_CLIPBOARD_UPDATE: SDL_EventType
< The clipboard changed
Sourcepub const SDL_EVENT_DROP_FILE: SDL_EventType
pub const SDL_EVENT_DROP_FILE: SDL_EventType
< The system requests a file open
Sourcepub const SDL_EVENT_DROP_TEXT: SDL_EventType
pub const SDL_EVENT_DROP_TEXT: SDL_EventType
< text/plain drag-and-drop event
Sourcepub const SDL_EVENT_DROP_BEGIN: SDL_EventType
pub const SDL_EVENT_DROP_BEGIN: SDL_EventType
< A new set of drops is beginning (NULL filename)
Sourcepub const SDL_EVENT_DROP_COMPLETE: SDL_EventType
pub const SDL_EVENT_DROP_COMPLETE: SDL_EventType
< Current set of drops is now complete (NULL filename)
Sourcepub const SDL_EVENT_DROP_POSITION: SDL_EventType
pub const SDL_EVENT_DROP_POSITION: SDL_EventType
< Position while moving over the window
Sourcepub const SDL_EVENT_AUDIO_DEVICE_ADDED: SDL_EventType
pub const SDL_EVENT_AUDIO_DEVICE_ADDED: SDL_EventType
< A new audio device is available
Sourcepub const SDL_EVENT_AUDIO_DEVICE_REMOVED: SDL_EventType
pub const SDL_EVENT_AUDIO_DEVICE_REMOVED: SDL_EventType
< An audio device has been removed.
Sourcepub const SDL_EVENT_AUDIO_DEVICE_FORMAT_CHANGED: SDL_EventType
pub const SDL_EVENT_AUDIO_DEVICE_FORMAT_CHANGED: SDL_EventType
< An audio device’s format has been changed by the system.
Sourcepub const SDL_EVENT_SENSOR_UPDATE: SDL_EventType
pub const SDL_EVENT_SENSOR_UPDATE: SDL_EventType
< A sensor was updated
Sourcepub const SDL_EVENT_PEN_PROXIMITY_IN: SDL_EventType
pub const SDL_EVENT_PEN_PROXIMITY_IN: SDL_EventType
< Pressure-sensitive pen has become available
Sourcepub const SDL_EVENT_PEN_PROXIMITY_OUT: SDL_EventType
pub const SDL_EVENT_PEN_PROXIMITY_OUT: SDL_EventType
< Pressure-sensitive pen has become unavailable
Sourcepub const SDL_EVENT_PEN_DOWN: SDL_EventType
pub const SDL_EVENT_PEN_DOWN: SDL_EventType
< Pressure-sensitive pen touched drawing surface
Sourcepub const SDL_EVENT_PEN_UP: SDL_EventType
pub const SDL_EVENT_PEN_UP: SDL_EventType
< Pressure-sensitive pen stopped touching drawing surface
Sourcepub const SDL_EVENT_PEN_BUTTON_DOWN: SDL_EventType
pub const SDL_EVENT_PEN_BUTTON_DOWN: SDL_EventType
< Pressure-sensitive pen button pressed
Sourcepub const SDL_EVENT_PEN_BUTTON_UP: SDL_EventType
pub const SDL_EVENT_PEN_BUTTON_UP: SDL_EventType
< Pressure-sensitive pen button released
Sourcepub const SDL_EVENT_PEN_MOTION: SDL_EventType
pub const SDL_EVENT_PEN_MOTION: SDL_EventType
< Pressure-sensitive pen is moving on the tablet
Sourcepub const SDL_EVENT_PEN_AXIS: SDL_EventType
pub const SDL_EVENT_PEN_AXIS: SDL_EventType
< Pressure-sensitive pen angle/pressure/etc changed
Sourcepub const SDL_EVENT_CAMERA_DEVICE_ADDED: SDL_EventType
pub const SDL_EVENT_CAMERA_DEVICE_ADDED: SDL_EventType
< A new camera device is available
Sourcepub const SDL_EVENT_CAMERA_DEVICE_REMOVED: SDL_EventType
pub const SDL_EVENT_CAMERA_DEVICE_REMOVED: SDL_EventType
< A camera device has been removed.
Sourcepub const SDL_EVENT_CAMERA_DEVICE_APPROVED: SDL_EventType
pub const SDL_EVENT_CAMERA_DEVICE_APPROVED: SDL_EventType
< A camera device has been approved for use by the user.
Sourcepub const SDL_EVENT_CAMERA_DEVICE_DENIED: SDL_EventType
pub const SDL_EVENT_CAMERA_DEVICE_DENIED: SDL_EventType
< A camera device has been denied for use by the user.
Sourcepub const SDL_EVENT_RENDER_TARGETS_RESET: SDL_EventType
pub const SDL_EVENT_RENDER_TARGETS_RESET: SDL_EventType
< The render targets have been reset and their contents need to be updated
Sourcepub const SDL_EVENT_RENDER_DEVICE_RESET: SDL_EventType
pub const SDL_EVENT_RENDER_DEVICE_RESET: SDL_EventType
< The device has been reset and all textures need to be recreated
Sourcepub const SDL_EVENT_RENDER_DEVICE_LOST: SDL_EventType
pub const SDL_EVENT_RENDER_DEVICE_LOST: SDL_EventType
< The device has been lost and can’t be recovered.
pub const SDL_EVENT_PRIVATE0: SDL_EventType
pub const SDL_EVENT_PRIVATE1: SDL_EventType
pub const SDL_EVENT_PRIVATE2: SDL_EventType
pub const SDL_EVENT_PRIVATE3: SDL_EventType
Sourcepub const SDL_EVENT_POLL_SENTINEL: SDL_EventType
pub const SDL_EVENT_POLL_SENTINEL: SDL_EventType
< Signals the end of an event poll cycle
Sourcepub const SDL_EVENT_USER: SDL_EventType
pub const SDL_EVENT_USER: SDL_EventType
Events SDL_EVENT_USER through SDL_EVENT_LAST are for your use, and should be allocated with SDL_RegisterEvents()
Sourcepub const SDL_EVENT_LAST: SDL_EventType
pub const SDL_EVENT_LAST: SDL_EventType
This last event is only for bounding internal arrays
Sourcepub const SDL_EVENT_ENUM_PADDING: SDL_EventType
pub const SDL_EVENT_ENUM_PADDING: SDL_EventType
This last event is only for bounding internal arrays
Trait Implementations§
Source§impl Clone for SDL_EventType
impl Clone for SDL_EventType
Source§fn clone(&self) -> SDL_EventType
fn clone(&self) -> SDL_EventType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more