#[repr(u32)]pub enum SDL_MessageBoxFlags {
SDL_MESSAGEBOX_ERROR = 16,
SDL_MESSAGEBOX_WARNING = 32,
SDL_MESSAGEBOX_INFORMATION = 64,
SDL_MESSAGEBOX_BUTTONS_LEFT_TO_RIGHT = 128,
SDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT = 256,
}
Expand description
SDL_MessageBox flags. If supported will display warning icon, etc.
Variants§
SDL_MESSAGEBOX_ERROR = 16
< error dialog
SDL_MESSAGEBOX_WARNING = 32
< warning dialog
SDL_MESSAGEBOX_INFORMATION = 64
< informational dialog
SDL_MESSAGEBOX_BUTTONS_LEFT_TO_RIGHT = 128
< buttons placed left to right
SDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT = 256
< buttons placed right to left
Trait Implementations§
Source§impl Clone for SDL_MessageBoxFlags
impl Clone for SDL_MessageBoxFlags
Source§fn clone(&self) -> SDL_MessageBoxFlags
fn clone(&self) -> SDL_MessageBoxFlags
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_MessageBoxFlags
impl Hash for SDL_MessageBoxFlags
Source§impl PartialEq for SDL_MessageBoxFlags
impl PartialEq for SDL_MessageBoxFlags
impl Copy for SDL_MessageBoxFlags
impl Eq for SDL_MessageBoxFlags
impl StructuralPartialEq for SDL_MessageBoxFlags
Auto Trait Implementations§
impl Freeze for SDL_MessageBoxFlags
impl RefUnwindSafe for SDL_MessageBoxFlags
impl Send for SDL_MessageBoxFlags
impl Sync for SDL_MessageBoxFlags
impl Unpin for SDL_MessageBoxFlags
impl UnwindSafe for SDL_MessageBoxFlags
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