Enum sdl2_sys::SDL_MessageBoxFlags
source · [−]#[repr(u32)]
pub enum SDL_MessageBoxFlags {
SDL_MESSAGEBOX_ERROR,
SDL_MESSAGEBOX_WARNING,
SDL_MESSAGEBOX_INFORMATION,
SDL_MESSAGEBOX_BUTTONS_LEFT_TO_RIGHT,
SDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT,
}
Expand description
\brief SDL_MessageBox flags. If supported will display warning icon, etc.
Variants
SDL_MESSAGEBOX_ERROR
< error dialog
SDL_MESSAGEBOX_WARNING
< warning dialog
SDL_MESSAGEBOX_INFORMATION
< informational dialog
SDL_MESSAGEBOX_BUTTONS_LEFT_TO_RIGHT
< buttons placed left to right
SDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT
< buttons placed right to left
Trait Implementations
sourceimpl Clone for SDL_MessageBoxFlags
impl Clone for SDL_MessageBoxFlags
sourcefn clone(&self) -> SDL_MessageBoxFlags
fn clone(&self) -> SDL_MessageBoxFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SDL_MessageBoxFlags
impl Debug for SDL_MessageBoxFlags
sourceimpl Hash for SDL_MessageBoxFlags
impl Hash for SDL_MessageBoxFlags
impl Copy for SDL_MessageBoxFlags
impl Eq for SDL_MessageBoxFlags
impl StructuralEq for SDL_MessageBoxFlags
impl StructuralPartialEq for SDL_MessageBoxFlags
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more