#[repr(u32)]pub enum SDL_MessageBoxButtonFlags {
SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 1,
SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT = 2,
}
Expand description
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 Hash for SDL_MessageBoxButtonFlags
impl Hash for SDL_MessageBoxButtonFlags
source§impl PartialEq for SDL_MessageBoxButtonFlags
impl PartialEq for SDL_MessageBoxButtonFlags
source§fn eq(&self, other: &SDL_MessageBoxButtonFlags) -> bool
fn eq(&self, other: &SDL_MessageBoxButtonFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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