Enum sdl2_sys::SDL_AssertState
source · #[repr(u32)]pub enum SDL_AssertState {
SDL_ASSERTION_RETRY = 0,
SDL_ASSERTION_BREAK = 1,
SDL_ASSERTION_ABORT = 2,
SDL_ASSERTION_IGNORE = 3,
SDL_ASSERTION_ALWAYS_IGNORE = 4,
}
Variants§
SDL_ASSERTION_RETRY = 0
< Retry the assert immediately.
SDL_ASSERTION_BREAK = 1
< Make the debugger trigger a breakpoint.
SDL_ASSERTION_ABORT = 2
< Terminate the program.
SDL_ASSERTION_IGNORE = 3
< Ignore the assert.
SDL_ASSERTION_ALWAYS_IGNORE = 4
< Ignore the assert from now on.
Trait Implementations§
source§impl Clone for SDL_AssertState
impl Clone for SDL_AssertState
source§fn clone(&self) -> SDL_AssertState
fn clone(&self) -> SDL_AssertState
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_AssertState
impl Hash for SDL_AssertState
source§impl PartialEq for SDL_AssertState
impl PartialEq for SDL_AssertState
source§fn eq(&self, other: &SDL_AssertState) -> bool
fn eq(&self, other: &SDL_AssertState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SDL_AssertState
impl Eq for SDL_AssertState
impl StructuralPartialEq for SDL_AssertState
Auto Trait Implementations§
impl Freeze for SDL_AssertState
impl RefUnwindSafe for SDL_AssertState
impl Send for SDL_AssertState
impl Sync for SDL_AssertState
impl Unpin for SDL_AssertState
impl UnwindSafe for SDL_AssertState
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