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