Struct libsqlite3_sys::Struct_sqlite3_mem_methods
[−]
[src]
pub struct Struct_sqlite3_mem_methods {
pub xMalloc: Option<extern fn(arg1: c_int) -> *mut c_void>,
pub xFree: Option<unsafe extern fn(arg1: *mut c_void)>,
pub xRealloc: Option<unsafe extern fn(arg1: *mut c_void, arg2: c_int) -> *mut c_void>,
pub xSize: Option<unsafe extern fn(arg1: *mut c_void) -> c_int>,
pub xRoundup: Option<extern fn(arg1: c_int) -> c_int>,
pub xInit: Option<unsafe extern fn(arg1: *mut c_void) -> c_int>,
pub xShutdown: Option<unsafe extern fn(arg1: *mut c_void)>,
pub pAppData: *mut c_void,
}Fields
xMalloc: Option<extern fn(arg1: c_int) -> *mut c_void>
xFree: Option<unsafe extern fn(arg1: *mut c_void)>
xRealloc: Option<unsafe extern fn(arg1: *mut c_void, arg2: c_int) -> *mut c_void>
xSize: Option<unsafe extern fn(arg1: *mut c_void) -> c_int>
xRoundup: Option<extern fn(arg1: c_int) -> c_int>
xInit: Option<unsafe extern fn(arg1: *mut c_void) -> c_int>
xShutdown: Option<unsafe extern fn(arg1: *mut c_void)>
pAppData: *mut c_void
Trait Implementations
impl Copy for Struct_sqlite3_mem_methods[src]
impl Clone for Struct_sqlite3_mem_methods[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more