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
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§
source§impl Clone for SDL_MessageBoxButtonData
impl Clone for SDL_MessageBoxButtonData
source§fn clone(&self) -> SDL_MessageBoxButtonData
fn clone(&self) -> SDL_MessageBoxButtonData
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_MessageBoxButtonData
Auto Trait Implementations§
impl Freeze for SDL_MessageBoxButtonData
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§
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