Struct sdl2_sys::SDL_MessageBoxButtonData
source · [−]#[repr(C)]pub struct SDL_MessageBoxButtonData {
pub flags: Uint32,
pub buttonid: c_int,
pub text: *const c_char,
}
Expand description
\brief Individual button data.
Fields
flags: Uint32
< ::SDL_MessageBoxButtonFlags
< User defined button id (value returned via SDL_ShowMessageBox)
text: *const c_char
< The UTF-8 button text
Trait Implementations
sourceimpl Clone for SDL_MessageBoxButtonData
impl Clone for SDL_MessageBoxButtonData
sourcefn clone(&self) -> SDL_MessageBoxButtonData
fn clone(&self) -> SDL_MessageBoxButtonData
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 more
impl Copy for SDL_MessageBoxButtonData
Auto Trait Implementations
impl RefUnwindSafe for SDL_MessageBoxButtonData
impl !Send for SDL_MessageBoxButtonData
impl !Sync for SDL_MessageBoxButtonData
impl Unpin for SDL_MessageBoxButtonData
impl UnwindSafe for SDL_MessageBoxButtonData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more