Struct sdl2_sys::SDL_MessageBoxData
source · #[repr(C)]pub struct SDL_MessageBoxData {
pub flags: Uint32,
pub window: *mut SDL_Window,
pub title: *const c_char,
pub message: *const c_char,
pub numbuttons: c_int,
pub buttons: *const SDL_MessageBoxButtonData,
pub colorScheme: *const SDL_MessageBoxColorScheme,
}
Expand description
MessageBox structure containing title, text, window, etc.
Fields§
§flags: Uint32
< ::SDL_MessageBoxFlags
window: *mut SDL_Window
< Parent window, can be NULL
title: *const c_char
< UTF-8 title
message: *const c_char
< UTF-8 message text
colorScheme: *const SDL_MessageBoxColorScheme
< ::SDL_MessageBoxColorScheme, can be NULL to use system settings
Trait Implementations§
source§impl Clone for SDL_MessageBoxData
impl Clone for SDL_MessageBoxData
source§fn clone(&self) -> SDL_MessageBoxData
fn clone(&self) -> SDL_MessageBoxData
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_MessageBoxData
Auto Trait Implementations§
impl Freeze for SDL_MessageBoxData
impl RefUnwindSafe for SDL_MessageBoxData
impl !Send for SDL_MessageBoxData
impl !Sync for SDL_MessageBoxData
impl Unpin for SDL_MessageBoxData
impl UnwindSafe for SDL_MessageBoxData
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