#[repr(C)]pub struct SDL_CommonEvent {
pub type: Uint32,
pub reserved: Uint32,
pub timestamp: Uint64,
}Expand description
Fields§
§type: Uint32Event type, shared with all events, Uint32 to cover user events which are not in the SDL_EventType enumeration
reserved: Uint32§timestamp: Uint64In nanoseconds, populated using SDL_GetTicksNS()
Trait Implementations§
Source§impl Clone for SDL_CommonEvent
impl Clone for SDL_CommonEvent
Source§fn clone(&self) -> SDL_CommonEvent
fn clone(&self) -> SDL_CommonEvent
Returns a duplicate 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 Debug for SDL_CommonEvent
impl Debug for SDL_CommonEvent
Source§impl Default for SDL_CommonEvent
impl Default for SDL_CommonEvent
Source§fn default() -> SDL_CommonEvent
fn default() -> SDL_CommonEvent
Returns the “default value” for a type. Read more
Source§impl Hash for SDL_CommonEvent
impl Hash for SDL_CommonEvent
Source§impl PartialEq for SDL_CommonEvent
impl PartialEq for SDL_CommonEvent
impl Copy for SDL_CommonEvent
impl Eq for SDL_CommonEvent
impl StructuralPartialEq for SDL_CommonEvent
Auto Trait Implementations§
impl Freeze for SDL_CommonEvent
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§
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