Struct unqlite_sys::Struct_SyMemMethods [] [src]

pub struct Struct_SyMemMethods {
    pub xAlloc: Option<extern fn(arg1: c_uint) -> *mut c_void>,
    pub xRealloc: Option<extern fn(arg1: *mut c_void, arg2: c_uint) -> *mut c_void>,
    pub xFree: Option<extern fn(arg1: *mut c_void)>,
    pub xChunkSize: Option<extern fn(arg1: *mut c_void) -> c_uint>,
    pub xInit: Option<extern fn(arg1: *mut c_void) -> c_int>,
    pub xRelease: Option<extern fn(arg1: *mut c_void)>,
    pub pUserData: *mut c_void,
}

Fields

xAlloc: Option<extern fn(arg1: c_uint) -> *mut c_void> xRealloc: Option<extern fn(arg1: *mut c_void, arg2: c_uint) -> *mut c_void> xFree: Option<extern fn(arg1: *mut c_void)> xChunkSize: Option<extern fn(arg1: *mut c_void) -> c_uint> xInit: Option<extern fn(arg1: *mut c_void) -> c_int> xRelease: Option<extern fn(arg1: *mut c_void)> pUserData: *mut c_void

Trait Implementations

impl Copy for Struct_SyMemMethods
[src]

impl Clone for Struct_SyMemMethods
[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_SyMemMethods
[src]

fn default() -> Self

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