Struct fermium::messagebox::SDL_MessageBoxButtonData[][src]

#[repr(C)]pub struct SDL_MessageBoxButtonData {
    pub flags: SDL_MessageBoxButtonFlags,
    pub buttonid: c_int,
    pub text: *const c_char,
}

Individual button data.

Fields

flags: SDL_MessageBoxButtonFlagsbuttonid: c_int

User defined button id (the value returned via SDL_ShowMessageBox)

text: *const c_char

The UTF-8 button text

Trait Implementations

impl Clone for SDL_MessageBoxButtonData[src]

impl Copy for SDL_MessageBoxButtonData[src]

impl Debug for SDL_MessageBoxButtonData[src]

impl Default for SDL_MessageBoxButtonData[src]

impl Eq for SDL_MessageBoxButtonData[src]

impl Hash for SDL_MessageBoxButtonData[src]

impl Ord for SDL_MessageBoxButtonData[src]

impl PartialEq<SDL_MessageBoxButtonData> for SDL_MessageBoxButtonData[src]

impl PartialOrd<SDL_MessageBoxButtonData> for SDL_MessageBoxButtonData[src]

impl StructuralEq for SDL_MessageBoxButtonData[src]

impl StructuralPartialEq for SDL_MessageBoxButtonData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.