Enum sdl2_sys::SDL_eventaction
source · #[repr(u32)]pub enum SDL_eventaction {
SDL_ADDEVENT = 0,
SDL_PEEKEVENT = 1,
SDL_GETEVENT = 2,
}
Variants§
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 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 Hash for SDL_eventaction
impl Hash for SDL_eventaction
source§impl PartialEq for SDL_eventaction
impl PartialEq for SDL_eventaction
source§fn eq(&self, other: &SDL_eventaction) -> bool
fn eq(&self, other: &SDL_eventaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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 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