#[repr(C)]pub struct Struct_sqlite3_pcache_methods2 {Show 13 fields
pub iVersion: c_int,
pub pArg: *mut c_void,
pub xInit: Option<extern "C" fn(arg1: *mut c_void) -> c_int>,
pub xShutdown: Option<extern "C" fn(arg1: *mut c_void)>,
pub xCreate: Option<extern "C" fn(arg1: c_int, arg2: c_int, arg3: c_int) -> *mut sqlite3_pcache>,
pub xCachesize: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_int)>,
pub xPagecount: Option<extern "C" fn(arg1: *mut sqlite3_pcache) -> c_int>,
pub xFetch: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_uint, arg3: c_int) -> *mut sqlite3_pcache_page>,
pub xUnpin: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: *mut sqlite3_pcache_page, arg3: c_int)>,
pub xRekey: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: *mut sqlite3_pcache_page, arg3: c_uint, arg4: c_uint)>,
pub xTruncate: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_uint)>,
pub xDestroy: Option<extern "C" fn(arg1: *mut sqlite3_pcache)>,
pub xShrink: Option<extern "C" fn(arg1: *mut sqlite3_pcache)>,
}
Fields§
§iVersion: c_int
§pArg: *mut c_void
§xInit: Option<extern "C" fn(arg1: *mut c_void) -> c_int>
§xShutdown: Option<extern "C" fn(arg1: *mut c_void)>
§xCreate: Option<extern "C" fn(arg1: c_int, arg2: c_int, arg3: c_int) -> *mut sqlite3_pcache>
§xCachesize: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_int)>
§xPagecount: Option<extern "C" fn(arg1: *mut sqlite3_pcache) -> c_int>
§xFetch: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_uint, arg3: c_int) -> *mut sqlite3_pcache_page>
§xUnpin: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: *mut sqlite3_pcache_page, arg3: c_int)>
§xRekey: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: *mut sqlite3_pcache_page, arg3: c_uint, arg4: c_uint)>
§xTruncate: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_uint)>
§xDestroy: Option<extern "C" fn(arg1: *mut sqlite3_pcache)>
§xShrink: Option<extern "C" fn(arg1: *mut sqlite3_pcache)>
Auto Trait Implementations§
impl Freeze for Struct_sqlite3_pcache_methods2
impl RefUnwindSafe for Struct_sqlite3_pcache_methods2
impl !Send for Struct_sqlite3_pcache_methods2
impl !Sync for Struct_sqlite3_pcache_methods2
impl Unpin for Struct_sqlite3_pcache_methods2
impl UnwindSafe for Struct_sqlite3_pcache_methods2
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