#[repr(transparent)]pub struct SDL_EventAction(pub c_uint);Expand description
The type of action to request from SDL_PeepEvents().
Available Since: This enum is available since SDL 3.2.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_EventAction
impl SDL_EventAction
Sourcepub const SDL_ADDEVENT: SDL_EventAction
pub const SDL_ADDEVENT: SDL_EventAction
< Add events to the back of the queue.
Sourcepub const SDL_PEEKEVENT: SDL_EventAction
pub const SDL_PEEKEVENT: SDL_EventAction
< Check but don’t remove events from the queue front.
Sourcepub const SDL_GETEVENT: SDL_EventAction
pub const SDL_GETEVENT: SDL_EventAction
< Retrieve/remove events from the front of the queue.
Trait Implementations§
Source§impl Clone for SDL_EventAction
impl Clone for SDL_EventAction
Source§fn clone(&self) -> SDL_EventAction
fn clone(&self) -> SDL_EventAction
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 moreSource§impl Debug for SDL_EventAction
impl Debug for SDL_EventAction
Source§impl Hash for SDL_EventAction
impl Hash for SDL_EventAction
Source§impl PartialEq for SDL_EventAction
impl PartialEq for SDL_EventAction
impl Copy for SDL_EventAction
impl Eq for SDL_EventAction
impl StructuralPartialEq for SDL_EventAction
Auto Trait Implementations§
impl Freeze for SDL_EventAction
impl RefUnwindSafe for SDL_EventAction
impl Send for SDL_EventAction
impl Sync for SDL_EventAction
impl Unpin for SDL_EventAction
impl UnsafeUnpin for SDL_EventAction
impl UnwindSafe for SDL_EventAction
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