#[repr(u32)]pub enum SDL_MessageBoxButtonFlags {
SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 1,
SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT = 2,
}
Expand description
\brief Flags for SDL_MessageBoxButtonData.
Variants§
SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 1
< Marks the default button when return is hit
SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT = 2
< Marks the default button when escape is hit
Trait Implementations§
source§impl Clone for SDL_MessageBoxButtonFlags
impl Clone for SDL_MessageBoxButtonFlags
source§fn clone(&self) -> SDL_MessageBoxButtonFlags
fn clone(&self) -> SDL_MessageBoxButtonFlags
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_MessageBoxButtonFlags
impl Debug for SDL_MessageBoxButtonFlags
source§impl Hash for SDL_MessageBoxButtonFlags
impl Hash for SDL_MessageBoxButtonFlags
impl Copy for SDL_MessageBoxButtonFlags
impl Eq for SDL_MessageBoxButtonFlags
impl StructuralPartialEq for SDL_MessageBoxButtonFlags
Auto Trait Implementations§
impl Freeze for SDL_MessageBoxButtonFlags
impl RefUnwindSafe for SDL_MessageBoxButtonFlags
impl Send for SDL_MessageBoxButtonFlags
impl Sync for SDL_MessageBoxButtonFlags
impl Unpin for SDL_MessageBoxButtonFlags
impl UnwindSafe for SDL_MessageBoxButtonFlags
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)