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
sourceimpl Clone for SDL_SysWMEvent
impl Clone for SDL_SysWMEvent
sourcefn clone(&self) -> SDL_SysWMEvent
fn clone(&self) -> SDL_SysWMEvent
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_SysWMEvent
Auto Trait Implementations
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
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