Union fermium::syswm::SDL_SysWMinfo_union
source · #[repr(C)]
pub union SDL_SysWMinfo_union {
pub win: SDL_SysWMinfo_windows,
pub winrt: SDL_SysWMinfo_winrt,
pub x11: SDL_SysWMinfo_x11,
pub dfb: SDL_SysWMinfo_directfb,
pub cocoa: SDL_SysWMinfo_cocoa,
pub uikit: SDL_SysWMinfo_uikit,
pub wl: SDL_SysWMinfo_wayland,
pub android: SDL_SysWMinfo_android,
pub vivante: SDL_SysWMinfo_vivante,
pub dummy: [u8; 64],
}
Fields
win: SDL_SysWMinfo_windows
winrt: SDL_SysWMinfo_winrt
x11: SDL_SysWMinfo_x11
dfb: SDL_SysWMinfo_directfb
cocoa: SDL_SysWMinfo_cocoa
uikit: SDL_SysWMinfo_uikit
wl: SDL_SysWMinfo_wayland
android: SDL_SysWMinfo_android
vivante: SDL_SysWMinfo_vivante
dummy: [u8; 64]
Dummy field to ensure that the union is always at least 64 bytes.
Trait Implementations
sourceimpl Clone for SDL_SysWMinfo_union
impl Clone for SDL_SysWMinfo_union
sourcefn clone(&self) -> SDL_SysWMinfo_union
fn clone(&self) -> SDL_SysWMinfo_union
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 moreimpl Copy for SDL_SysWMinfo_union
Auto Trait Implementations
impl RefUnwindSafe for SDL_SysWMinfo_union
impl !Send for SDL_SysWMinfo_union
impl !Sync for SDL_SysWMinfo_union
impl Unpin for SDL_SysWMinfo_union
impl UnwindSafe for SDL_SysWMinfo_union
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more