Struct sdl2_sys::SDL_QuitEvent
source · #[repr(C)]pub struct SDL_QuitEvent {
pub type_: Uint32,
pub timestamp: Uint32,
}
Expand description
\brief The “quit requested” event
Fields§
§type_: Uint32
< ::SDL_QUIT
timestamp: Uint32
< In milliseconds, populated using SDL_GetTicks()
Trait Implementations§
source§impl Clone for SDL_QuitEvent
impl Clone for SDL_QuitEvent
source§fn clone(&self) -> SDL_QuitEvent
fn clone(&self) -> SDL_QuitEvent
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 moreimpl Copy for SDL_QuitEvent
Auto Trait Implementations§
impl Freeze for SDL_QuitEvent
impl RefUnwindSafe for SDL_QuitEvent
impl Send for SDL_QuitEvent
impl Sync for SDL_QuitEvent
impl Unpin for SDL_QuitEvent
impl UnwindSafe for SDL_QuitEvent
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