Struct sdl2_sys::SDL_SysWMinfo
source · [−]#[repr(C)]pub struct SDL_SysWMinfo {
pub version: SDL_version,
pub subsystem: SDL_SYSWM_TYPE,
pub info: SDL_SysWMinfo__bindgen_ty_1,
}
Expand description
\brief SDL_syswm.h
Your application has access to a special type of event ::SDL_SYSWMEVENT, which contains window-manager specific information and arrives whenever an unhandled window event occurs. This event is ignored by default, but you can enable it with SDL_EventState().
Fields
version: SDL_version
subsystem: SDL_SYSWM_TYPE
info: SDL_SysWMinfo__bindgen_ty_1
Trait Implementations
sourceimpl Clone for SDL_SysWMinfo
impl Clone for SDL_SysWMinfo
sourcefn clone(&self) -> SDL_SysWMinfo
fn clone(&self) -> SDL_SysWMinfo
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_SysWMinfo
Auto Trait Implementations
impl RefUnwindSafe for SDL_SysWMinfo
impl !Send for SDL_SysWMinfo
impl !Sync for SDL_SysWMinfo
impl Unpin for SDL_SysWMinfo
impl UnwindSafe for SDL_SysWMinfo
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