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<extern fn(arg1: *mut c_void)>,
    pub xRealloc: Option<extern fn(arg1: *mut c_void, arg2: c_int) -> *mut c_void>,
    pub xSize: Option<extern fn(arg1: *mut c_void) -> c_int>,
    pub xRoundup: Option<extern fn(arg1: c_int) -> c_int>,
    pub xInit: Option<extern fn(arg1: *mut c_void) -> c_int>,
    pub xShutdown: Option<extern fn(arg1: *mut c_void)>,
    pub pAppData: *mut c_void,
}

Fields

xMalloc: Option<extern fn(arg1: c_int) -> *mut c_void> xFree: Option<extern fn(arg1: *mut c_void)> xRealloc: Option<extern fn(arg1: *mut c_void, arg2: c_int) -> *mut c_void> xSize: Option<extern fn(arg1: *mut c_void) -> c_int> xRoundup: Option<extern fn(arg1: c_int) -> c_int> xInit: Option<extern fn(arg1: *mut c_void) -> c_int> xShutdown: Option<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

impl Default for Struct_sqlite3_mem_methods
[src]

fn default() -> Self

Returns the "default value" for a type. Read more