#[repr(C)]pub struct SDL_MessageBoxData {
pub flags: SDL_MessageBoxFlags,
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.
§Availability
This struct is available since SDL 3.2.0.
Fields§
§flags: SDL_MessageBoxFlags§window: *mut SDL_WindowParent window, can be NULL
title: *const c_charUTF-8 title
message: *const c_charUTF-8 message text
colorScheme: *const SDL_MessageBoxColorSchemeSDL_MessageBoxColorScheme, can be NULL to use system settings
Trait Implementations§
Source§impl Debug for SDL_MessageBoxData
impl Debug 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