#[repr(C)]pub struct OsDebuggerApi {
pub is_debugger_present: Option<unsafe extern "C" fn() -> bool>,
pub debug_break: Option<unsafe extern "C" fn()>,
pub print_stack_trace: Option<unsafe extern "C" fn()>,
}
Fields§
§is_debugger_present: Option<unsafe extern "C" fn() -> bool>
§debug_break: Option<unsafe extern "C" fn()>
§print_stack_trace: Option<unsafe extern "C" fn()>
Implementations§
Source§impl OsDebuggerApi
impl OsDebuggerApi
pub unsafe fn is_debugger_present(&self) -> bool
pub unsafe fn debug_break(&self)
pub unsafe fn print_stack_trace(&self)
Trait Implementations§
Source§impl Clone for OsDebuggerApi
impl Clone for OsDebuggerApi
Source§fn clone(&self) -> OsDebuggerApi
fn clone(&self) -> OsDebuggerApi
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 Default for OsDebuggerApi
impl Default for OsDebuggerApi
Source§fn default() -> OsDebuggerApi
fn default() -> OsDebuggerApi
Returns the “default value” for a type. Read more
impl Copy for OsDebuggerApi
Auto Trait Implementations§
impl Freeze for OsDebuggerApi
impl RefUnwindSafe for OsDebuggerApi
impl Send for OsDebuggerApi
impl Sync for OsDebuggerApi
impl Unpin for OsDebuggerApi
impl UnwindSafe for OsDebuggerApi
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