pub struct QuitEvent {
pub timestamp: u32,
}
Expand description
An event on quitting the application.
Fields§
§timestamp: u32
When this event occurred.
Trait Implementations§
Source§impl From<SDL_QuitEvent> for QuitEvent
impl From<SDL_QuitEvent> for QuitEvent
Source§fn from(_: SDL_QuitEvent) -> Self
fn from(_: SDL_QuitEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QuitEvent
impl RefUnwindSafe for QuitEvent
impl Send for QuitEvent
impl Sync for QuitEvent
impl Unpin for QuitEvent
impl UnwindSafe for 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