Enum sdl2_sys::SDL_MessageBoxFlags
source · #[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
source§fn eq(&self, other: &SDL_MessageBoxFlags) -> bool
fn eq(&self, other: &SDL_MessageBoxFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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