Struct sdl2_sys::SDL_CommonEvent
source · [−]Expand description
\brief Fields shared by every event
Fields
type_: Uint32
timestamp: Uint32
< In milliseconds, populated using SDL_GetTicks()
Trait Implementations
sourceimpl Clone for SDL_CommonEvent
impl Clone for SDL_CommonEvent
sourcefn clone(&self) -> SDL_CommonEvent
fn clone(&self) -> SDL_CommonEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for SDL_CommonEvent
Auto Trait Implementations
impl RefUnwindSafe for SDL_CommonEvent
impl Send for SDL_CommonEvent
impl Sync for SDL_CommonEvent
impl Unpin for SDL_CommonEvent
impl UnwindSafe for SDL_CommonEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more