#[repr(C)]pub struct SDL_Event {
pub data: [c_uchar; 24],
}Fields§
§data: [c_uchar; 24]Implementations§
Source§impl SDL_Event
impl SDL_Event
pub fn _type(&self) -> *const uint8_t
pub fn active(&self) -> *const SDL_ActiveEvent
pub fn key(&self) -> *const SDL_KeyboardEvent
pub fn motion(&self) -> *const SDL_MouseMotionEvent
pub fn jaxis(&self) -> *const SDL_JoyAxisEvent
pub fn jball(&self) -> *const SDL_JoyBallEvent
pub fn jhat(&self) -> *const SDL_JoyHatEvent
pub fn resize(&self) -> *const SDL_ResizeEvent
pub fn expose(&self) -> *const SDL_ExposeEvent
pub fn quit(&self) -> *const SDL_QuitEvent
pub fn user(&self) -> *const SDL_UserEvent
pub fn syswm(&self) -> *const SDL_SysWMEvent
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SDL_Event
impl RefUnwindSafe for SDL_Event
impl Send for SDL_Event
impl Sync for SDL_Event
impl Unpin for SDL_Event
impl UnwindSafe for SDL_Event
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