#[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_int§xUserData: 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§

source§

impl Clone for Fts5ExtensionApi

source§

fn clone(&self) -> Fts5ExtensionApi

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Fts5ExtensionApi

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for Fts5ExtensionApi

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.