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§
source§impl Clone for SDL_SysWMinfo
impl Clone for SDL_SysWMinfo
source§fn clone(&self) -> SDL_SysWMinfo
fn clone(&self) -> SDL_SysWMinfo
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_SysWMinfo
Auto Trait Implementations§
impl Freeze for SDL_SysWMinfo
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§
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