Struct libstrophe_sys_bindgen::_xmpp_mem_t
[−]
[src]
#[repr(C)]pub struct _xmpp_mem_t { pub alloc: Option<unsafe extern "C" fn(size: usize, userdata: *const c_void) -> *mut c_void>, pub free: Option<unsafe extern "C" fn(p: *mut c_void, userdata: *const c_void)>, pub realloc: Option<unsafe extern "C" fn(p: *mut c_void, size: usize, userdata: *const c_void) -> *mut c_void>, pub userdata: *mut c_void, }
Fields
alloc: Option<unsafe extern "C" fn(size: usize, userdata: *const c_void) -> *mut c_void>
free: Option<unsafe extern "C" fn(p: *mut c_void, userdata: *const c_void)>
realloc: Option<unsafe extern "C" fn(p: *mut c_void, size: usize, userdata: *const c_void) -> *mut c_void>
userdata: *mut c_void
Trait Implementations
impl Debug for _xmpp_mem_t
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for _xmpp_mem_t
[src]
impl Clone for _xmpp_mem_t
[src]
fn clone(&self) -> _xmpp_mem_t
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more