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, pUserData: *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, ppUserData: *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, pUserData: *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, pUserData: *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, ppUserData: *mut *mut c_void, pTokenizer: *mut fts5_tokenizer) -> c_int>
§xCreateFunction: Option<unsafe extern "C" fn(pApi: *mut fts5_api, zName: *const c_char, pUserData: *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 Freeze for fts5_api
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)