#[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
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