Struct libsqlite3_sys::fts5_api
source · #[repr(C)]pub struct fts5_api {
pub iVersion: c_int,
pub xCreateTokenizer: Option<unsafe extern "C" fn(pApi: *mut fts5_api, zName: *const c_char, pContext: *mut c_void, pTokenizer: *mut fts5_tokenizer, xDestroy: Option<unsafe extern "C" fn(arg1: *mut c_void)>) -> c_int>,
pub xFindTokenizer: Option<unsafe extern "C" fn(pApi: *mut fts5_api, zName: *const c_char, ppContext: *mut *mut c_void, pTokenizer: *mut fts5_tokenizer) -> c_int>,
pub xCreateFunction: Option<unsafe extern "C" fn(pApi: *mut fts5_api, zName: *const c_char, pContext: *mut c_void, xFunction: fts5_extension_function, xDestroy: Option<unsafe extern "C" fn(arg1: *mut c_void)>) -> c_int>,
}
Fields§
§iVersion: c_int
§xCreateTokenizer: Option<unsafe extern "C" fn(pApi: *mut fts5_api, zName: *const c_char, pContext: *mut c_void, pTokenizer: *mut fts5_tokenizer, xDestroy: Option<unsafe extern "C" fn(arg1: *mut c_void)>) -> c_int>
§xFindTokenizer: Option<unsafe extern "C" fn(pApi: *mut fts5_api, zName: *const c_char, ppContext: *mut *mut c_void, pTokenizer: *mut fts5_tokenizer) -> c_int>
§xCreateFunction: Option<unsafe extern "C" fn(pApi: *mut fts5_api, zName: *const c_char, pContext: *mut c_void, xFunction: fts5_extension_function, xDestroy: Option<unsafe extern "C" fn(arg1: *mut c_void)>) -> c_int>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for fts5_api
impl Send for fts5_api
impl Sync for fts5_api
impl Unpin for fts5_api
impl UnwindSafe for fts5_api
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