#[repr(C)]
pub struct Fts5ExtensionApi {
Show 20 fields pub iVersion: c_int, pub xUserData: Option<unsafe extern "C" fn(arg1: *mut Fts5Context) -> *mut c_void>, pub xColumnCount: Option<unsafe extern "C" fn(arg1: *mut Fts5Context) -> c_int>, pub xRowCount: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, pnRow: *mut sqlite3_int64) -> c_int>, pub xColumnTotalSize: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iCol: c_int, pnToken: *mut sqlite3_int64) -> c_int>, pub xTokenize: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, pText: *const c_char, nText: c_int, pCtx: *mut c_void, xToken: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: c_int, arg3: *const c_char, arg4: c_int, arg5: c_int, arg6: c_int) -> c_int>) -> c_int>, pub xPhraseCount: Option<unsafe extern "C" fn(arg1: *mut Fts5Context) -> c_int>, pub xPhraseSize: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iPhrase: c_int) -> c_int>, pub xInstCount: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, pnInst: *mut c_int) -> c_int>, pub xInst: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iIdx: c_int, piPhrase: *mut c_int, piCol: *mut c_int, piOff: *mut c_int) -> c_int>, pub xRowid: Option<unsafe extern "C" fn(arg1: *mut Fts5Context) -> sqlite3_int64>, pub xColumnText: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iCol: c_int, pz: *mut *const c_char, pn: *mut c_int) -> c_int>, pub xColumnSize: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iCol: c_int, pnToken: *mut c_int) -> c_int>, pub xQueryPhrase: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iPhrase: c_int, pUserData: *mut c_void, arg2: Option<unsafe extern "C" fn(arg1: *const Fts5ExtensionApi, arg2: *mut Fts5Context, arg3: *mut c_void) -> c_int>) -> c_int>, pub xSetAuxdata: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, pAux: *mut c_void, xDelete: Option<unsafe extern "C" fn(arg1: *mut c_void)>) -> c_int>, pub xGetAuxdata: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, bClear: c_int) -> *mut c_void>, pub xPhraseFirst: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iPhrase: c_int, arg2: *mut Fts5PhraseIter, arg3: *mut c_int, arg4: *mut c_int) -> c_int>, pub xPhraseNext: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, arg2: *mut Fts5PhraseIter, piCol: *mut c_int, piOff: *mut c_int)>, pub xPhraseFirstColumn: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iPhrase: c_int, arg2: *mut Fts5PhraseIter, arg3: *mut c_int) -> c_int>, pub xPhraseNextColumn: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, arg2: *mut Fts5PhraseIter, piCol: *mut c_int)>,
}

Fields

iVersion: c_intxUserData: Option<unsafe extern "C" fn(arg1: *mut Fts5Context) -> *mut c_void>xColumnCount: Option<unsafe extern "C" fn(arg1: *mut Fts5Context) -> c_int>xRowCount: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, pnRow: *mut sqlite3_int64) -> c_int>xColumnTotalSize: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iCol: c_int, pnToken: *mut sqlite3_int64) -> c_int>xTokenize: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, pText: *const c_char, nText: c_int, pCtx: *mut c_void, xToken: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: c_int, arg3: *const c_char, arg4: c_int, arg5: c_int, arg6: c_int) -> c_int>) -> c_int>xPhraseCount: Option<unsafe extern "C" fn(arg1: *mut Fts5Context) -> c_int>xPhraseSize: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iPhrase: c_int) -> c_int>xInstCount: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, pnInst: *mut c_int) -> c_int>xInst: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iIdx: c_int, piPhrase: *mut c_int, piCol: *mut c_int, piOff: *mut c_int) -> c_int>xRowid: Option<unsafe extern "C" fn(arg1: *mut Fts5Context) -> sqlite3_int64>xColumnText: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iCol: c_int, pz: *mut *const c_char, pn: *mut c_int) -> c_int>xColumnSize: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iCol: c_int, pnToken: *mut c_int) -> c_int>xQueryPhrase: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iPhrase: c_int, pUserData: *mut c_void, arg2: Option<unsafe extern "C" fn(arg1: *const Fts5ExtensionApi, arg2: *mut Fts5Context, arg3: *mut c_void) -> c_int>) -> c_int>xSetAuxdata: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, pAux: *mut c_void, xDelete: Option<unsafe extern "C" fn(arg1: *mut c_void)>) -> c_int>xGetAuxdata: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, bClear: c_int) -> *mut c_void>xPhraseFirst: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iPhrase: c_int, arg2: *mut Fts5PhraseIter, arg3: *mut c_int, arg4: *mut c_int) -> c_int>xPhraseNext: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, arg2: *mut Fts5PhraseIter, piCol: *mut c_int, piOff: *mut c_int)>xPhraseFirstColumn: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, iPhrase: c_int, arg2: *mut Fts5PhraseIter, arg3: *mut c_int) -> c_int>xPhraseNextColumn: Option<unsafe extern "C" fn(arg1: *mut Fts5Context, arg2: *mut Fts5PhraseIter, piCol: *mut c_int)>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.