#[repr(C)]pub struct VTabModuleImpl {
pub name: *const c_char,
pub create: unsafe extern "C" fn(args: *const Value, argc: i32) -> VTabCreateResult,
pub open: unsafe extern "C" fn(table: *const c_void, conn: *mut Conn) -> *const c_void,
pub close: unsafe extern "C" fn(cursor: *const c_void) -> ResultCode,
pub filter: unsafe extern "C" fn(cursor: *const c_void, argc: i32, argv: *const Value, idx_str: *const c_char, idx_num: i32) -> ResultCode,
pub column: unsafe extern "C" fn(cursor: *const c_void, idx: u32) -> Value,
pub next: unsafe extern "C" fn(cursor: *const c_void) -> ResultCode,
pub eof: unsafe extern "C" fn(cursor: *const c_void) -> bool,
pub update: unsafe extern "C" fn(table: *const c_void, argc: i32, argv: *const Value, p_out_rowid: *mut i64) -> ResultCode,
pub rowid: unsafe extern "C" fn(cursor: *const c_void) -> i64,
pub destroy: unsafe extern "C" fn(table: *const c_void) -> ResultCode,
pub best_idx: unsafe extern "C" fn(constraints: *const ConstraintInfo, constraint_len: i32, order_by: *const OrderByInfo, order_by_len: i32) -> ExtIndexInfo,
}Fields§
§name: *const c_char§create: unsafe extern "C" fn(args: *const Value, argc: i32) -> VTabCreateResult§open: unsafe extern "C" fn(table: *const c_void, conn: *mut Conn) -> *const c_void§close: unsafe extern "C" fn(cursor: *const c_void) -> ResultCode§filter: unsafe extern "C" fn(cursor: *const c_void, argc: i32, argv: *const Value, idx_str: *const c_char, idx_num: i32) -> ResultCode§column: unsafe extern "C" fn(cursor: *const c_void, idx: u32) -> Value§next: unsafe extern "C" fn(cursor: *const c_void) -> ResultCode§eof: unsafe extern "C" fn(cursor: *const c_void) -> bool§update: unsafe extern "C" fn(table: *const c_void, argc: i32, argv: *const Value, p_out_rowid: *mut i64) -> ResultCode§rowid: unsafe extern "C" fn(cursor: *const c_void) -> i64§destroy: unsafe extern "C" fn(table: *const c_void) -> ResultCode§best_idx: unsafe extern "C" fn(constraints: *const ConstraintInfo, constraint_len: i32, order_by: *const OrderByInfo, order_by_len: i32) -> ExtIndexInfoTrait Implementations§
Source§impl Clone for VTabModuleImpl
impl Clone for VTabModuleImpl
Source§fn clone(&self) -> VTabModuleImpl
fn clone(&self) -> VTabModuleImpl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for VTabModuleImpl
impl !Sync for VTabModuleImpl
impl Freeze for VTabModuleImpl
impl RefUnwindSafe for VTabModuleImpl
impl Unpin for VTabModuleImpl
impl UnsafeUnpin for VTabModuleImpl
impl UnwindSafe for VTabModuleImpl
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