#[repr(C)]pub struct fts5_tokenizer_v2 {
pub iVersion: c_int,
pub xCreate: Option<unsafe extern "C" fn(arg1: *mut c_void, azArg: *mut *const c_char, nArg: c_int, ppOut: *mut *mut Fts5Tokenizer) -> c_int>,
pub xDelete: Option<unsafe extern "C" fn(arg1: *mut Fts5Tokenizer)>,
pub xTokenize: Option<unsafe extern "C" fn(arg1: *mut Fts5Tokenizer, pCtx: *mut c_void, flags: c_int, pText: *const c_char, nText: c_int, pLocale: *const c_char, nLocale: c_int, xToken: Option<unsafe extern "C" fn(pCtx: *mut c_void, tflags: c_int, pToken: *const c_char, nToken: c_int, iStart: c_int, iEnd: c_int) -> c_int>) -> c_int>,
}
Fields§
§iVersion: c_int
§xCreate: Option<unsafe extern "C" fn(arg1: *mut c_void, azArg: *mut *const c_char, nArg: c_int, ppOut: *mut *mut Fts5Tokenizer) -> c_int>
§xDelete: Option<unsafe extern "C" fn(arg1: *mut Fts5Tokenizer)>
§xTokenize: Option<unsafe extern "C" fn(arg1: *mut Fts5Tokenizer, pCtx: *mut c_void, flags: c_int, pText: *const c_char, nText: c_int, pLocale: *const c_char, nLocale: c_int, xToken: Option<unsafe extern "C" fn(pCtx: *mut c_void, tflags: c_int, pToken: *const c_char, nToken: c_int, iStart: c_int, iEnd: c_int) -> c_int>) -> c_int>
Trait Implementations§
Source§impl Clone for fts5_tokenizer_v2
impl Clone for fts5_tokenizer_v2
Source§fn clone(&self) -> fts5_tokenizer_v2
fn clone(&self) -> fts5_tokenizer_v2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for fts5_tokenizer_v2
impl Debug for fts5_tokenizer_v2
impl Copy for fts5_tokenizer_v2
Auto Trait Implementations§
impl Freeze for fts5_tokenizer_v2
impl RefUnwindSafe for fts5_tokenizer_v2
impl Send for fts5_tokenizer_v2
impl Sync for fts5_tokenizer_v2
impl Unpin for fts5_tokenizer_v2
impl UnwindSafe for fts5_tokenizer_v2
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes