Struct sdl2_sys::SDL_SysWMEvent
source · #[repr(C)]pub struct SDL_SysWMEvent {
pub type_: Uint32,
pub timestamp: Uint32,
pub msg: *mut SDL_SysWMmsg,
}
Expand description
\brief A video driver dependent system event (event.syswm.*) This event is disabled by default, you can enable it with SDL_EventState()
\note If you want to use this event, you should include SDL_syswm.h.
Fields§
§type_: Uint32
< ::SDL_SYSWMEVENT
timestamp: Uint32
< In milliseconds, populated using SDL_GetTicks()
msg: *mut SDL_SysWMmsg
< driver dependent data, defined in SDL_syswm.h
Trait Implementations§
source§impl Clone for SDL_SysWMEvent
impl Clone for SDL_SysWMEvent
source§fn clone(&self) -> SDL_SysWMEvent
fn clone(&self) -> SDL_SysWMEvent
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_SysWMEvent
Auto Trait Implementations§
impl Freeze for SDL_SysWMEvent
impl RefUnwindSafe for SDL_SysWMEvent
impl !Send for SDL_SysWMEvent
impl !Sync for SDL_SysWMEvent
impl Unpin for SDL_SysWMEvent
impl UnwindSafe for SDL_SysWMEvent
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