#[repr(C)]pub struct ErrorContextCallback {
pub previous: *mut ErrorContextCallback,
pub callback: Option<unsafe extern "C" fn(arg: *mut c_void)>,
pub arg: *mut c_void,
}
Fields§
§previous: *mut ErrorContextCallback
§callback: Option<unsafe extern "C" fn(arg: *mut c_void)>
§arg: *mut c_void
Trait Implementations§
Source§impl Clone for ErrorContextCallback
impl Clone for ErrorContextCallback
Source§fn clone(&self) -> ErrorContextCallback
fn clone(&self) -> ErrorContextCallback
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 Debug for ErrorContextCallback
impl Debug for ErrorContextCallback
Source§impl Default for ErrorContextCallback
impl Default for ErrorContextCallback
impl Copy for ErrorContextCallback
Auto Trait Implementations§
impl Freeze for ErrorContextCallback
impl RefUnwindSafe for ErrorContextCallback
impl !Send for ErrorContextCallback
impl !Sync for ErrorContextCallback
impl Unpin for ErrorContextCallback
impl UnwindSafe for ErrorContextCallback
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