#[repr(C)]pub struct sqlite3_mem_methods {
pub xMalloc: Option<unsafe extern "C" fn(i32) -> *mut c_void>,
pub xFree: Option<unsafe extern "C" fn(*mut c_void)>,
pub xRealloc: Option<unsafe extern "C" fn(*mut c_void, i32) -> *mut c_void>,
pub xSize: Option<unsafe extern "C" fn(*mut c_void) -> i32>,
pub xRoundup: Option<unsafe extern "C" fn(i32) -> i32>,
pub xInit: Option<unsafe extern "C" fn(*mut c_void) -> i32>,
pub xShutdown: Option<unsafe extern "C" fn(*mut c_void)>,
pub pAppData: *mut c_void,
}Available on crate feature
core only.Fields§
§xMalloc: Option<unsafe extern "C" fn(i32) -> *mut c_void>§xFree: Option<unsafe extern "C" fn(*mut c_void)>§xRealloc: Option<unsafe extern "C" fn(*mut c_void, i32) -> *mut c_void>§xSize: Option<unsafe extern "C" fn(*mut c_void) -> i32>§xRoundup: Option<unsafe extern "C" fn(i32) -> i32>§xInit: Option<unsafe extern "C" fn(*mut c_void) -> i32>§xShutdown: Option<unsafe extern "C" fn(*mut c_void)>§pAppData: *mut c_voidTrait Implementations§
Source§impl Clone for sqlite3_mem_methods
impl Clone for sqlite3_mem_methods
Source§fn clone(&self) -> sqlite3_mem_methods
fn clone(&self) -> sqlite3_mem_methods
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 sqlite3_mem_methods
impl Debug for sqlite3_mem_methods
impl Copy for sqlite3_mem_methods
Auto Trait Implementations§
impl Freeze for sqlite3_mem_methods
impl RefUnwindSafe for sqlite3_mem_methods
impl !Send for sqlite3_mem_methods
impl !Sync for sqlite3_mem_methods
impl Unpin for sqlite3_mem_methods
impl UnwindSafe for sqlite3_mem_methods
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request