Skip to main content

ModelAdaptorTO

Struct ModelAdaptorTO 

Source
pub struct ModelAdaptorTO { /* private fields */ }
Available on crate feature ffi only.
Expand description

Invariant, same as vtable::Inner: vtable and ptr has to be valid and ptr an instance matching the vtable

Implementations§

Source§

impl ModelAdaptorTO

Source

pub fn row_count(&self) -> usize

Source

pub unsafe fn row_data(&self, _1: usize) -> *mut Value

Source

pub fn set_row_data(&self, _1: usize, _2: Box<Value>)

Source

pub fn get_notify(&self) -> &ModelNotifyOpaque

Source

pub fn get_vtable(&self) -> &ModelAdaptorVTable

Returns a reference to the VTable

Source

pub fn as_ptr(&self) -> *const u8

Return a raw pointer to the object