Enum sdl2_sys::SDL_AssertState
source · [−]#[repr(u32)]
pub enum SDL_AssertState {
SDL_ASSERTION_RETRY,
SDL_ASSERTION_BREAK,
SDL_ASSERTION_ABORT,
SDL_ASSERTION_IGNORE,
SDL_ASSERTION_ALWAYS_IGNORE,
}
Variants
SDL_ASSERTION_RETRY
< Retry the assert immediately.
SDL_ASSERTION_BREAK
< Make the debugger trigger a breakpoint.
SDL_ASSERTION_ABORT
< Terminate the program.
SDL_ASSERTION_IGNORE
< Ignore the assert.
SDL_ASSERTION_ALWAYS_IGNORE
< Ignore the assert from now on.
Trait Implementations
sourceimpl Clone for SDL_AssertState
impl Clone for SDL_AssertState
sourcefn clone(&self) -> SDL_AssertState
fn clone(&self) -> SDL_AssertState
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_AssertState
impl Debug for SDL_AssertState
sourceimpl Hash for SDL_AssertState
impl Hash for SDL_AssertState
sourceimpl PartialEq<SDL_AssertState> for SDL_AssertState
impl PartialEq<SDL_AssertState> for SDL_AssertState
impl Copy for SDL_AssertState
impl Eq for SDL_AssertState
impl StructuralEq for SDL_AssertState
impl StructuralPartialEq for SDL_AssertState
Auto Trait Implementations
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
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