#[repr(C)]pub struct SDL_AssertData {
pub always_ignore: bool,
pub trigger_count: c_uint,
pub condition: *const c_char,
pub filename: *const c_char,
pub linenum: c_int,
pub function: *const c_char,
pub next: *const SDL_AssertData,
}Expand description
Information about an assertion failure.
This structure is filled in with information about a triggered assertion,
used by the assertion handler, then added to the assertion report. This is
returned as a linked list from SDL_GetAssertionReport().
§Availability
This struct is available since SDL 3.2.0.
Fields§
§always_ignore: booltrue if app should always continue when assertion is triggered.
trigger_count: c_uintNumber of times this assertion has been triggered.
condition: *const c_charA string of this assert’s test code.
filename: *const c_charThe source file where this assert lives.
linenum: c_intThe line in filename where this assert lives.
function: *const c_charThe name of the function where this assert lives.
next: *const SDL_AssertDatanext item in the linked list.
Trait Implementations§
Source§impl Clone for SDL_AssertData
impl Clone for SDL_AssertData
Source§fn clone(&self) -> SDL_AssertData
fn clone(&self) -> SDL_AssertData
Returns a duplicate 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 Debug for SDL_AssertData
impl Debug for SDL_AssertData
impl Copy for SDL_AssertData
Auto Trait Implementations§
impl Freeze for SDL_AssertData
impl RefUnwindSafe for SDL_AssertData
impl !Send for SDL_AssertData
impl !Sync for SDL_AssertData
impl Unpin for SDL_AssertData
impl UnwindSafe for SDL_AssertData
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