Struct fermium::messagebox::SDL_MessageBoxData
source · #[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.
Fields§
§flags: 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
This 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 moresource§impl Debug for SDL_MessageBoxData
impl Debug for SDL_MessageBoxData
source§impl Default for SDL_MessageBoxData
impl Default for SDL_MessageBoxData
source§impl Hash for SDL_MessageBoxData
impl Hash for SDL_MessageBoxData
source§impl Ord for SDL_MessageBoxData
impl Ord for SDL_MessageBoxData
source§fn cmp(&self, other: &SDL_MessageBoxData) -> Ordering
fn cmp(&self, other: &SDL_MessageBoxData) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SDL_MessageBoxData> for SDL_MessageBoxData
impl PartialEq<SDL_MessageBoxData> for SDL_MessageBoxData
source§fn eq(&self, other: &SDL_MessageBoxData) -> bool
fn eq(&self, other: &SDL_MessageBoxData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SDL_MessageBoxData> for SDL_MessageBoxData
impl PartialOrd<SDL_MessageBoxData> for SDL_MessageBoxData
source§fn partial_cmp(&self, other: &SDL_MessageBoxData) -> Option<Ordering>
fn partial_cmp(&self, other: &SDL_MessageBoxData) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more