Struct mysqlclient_sys::st_ma_mem_root
source · #[repr(C)]pub struct st_ma_mem_root {
pub free: *mut MA_USED_MEM,
pub used: *mut MA_USED_MEM,
pub pre_alloc: *mut MA_USED_MEM,
pub min_malloc: usize,
pub block_size: usize,
pub block_num: c_uint,
pub first_block_usage: c_uint,
pub error_handler: Option<unsafe extern "C" fn()>,
}
Fields§
§free: *mut MA_USED_MEM
§used: *mut MA_USED_MEM
§pre_alloc: *mut MA_USED_MEM
§min_malloc: usize
§block_size: usize
§block_num: c_uint
§first_block_usage: c_uint
§error_handler: Option<unsafe extern "C" fn()>
Trait Implementations§
source§impl Clone for st_ma_mem_root
impl Clone for st_ma_mem_root
source§fn clone(&self) -> st_ma_mem_root
fn clone(&self) -> st_ma_mem_root
Returns a copy 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 st_ma_mem_root
impl Debug for st_ma_mem_root
impl Copy for st_ma_mem_root
Auto Trait Implementations§
impl Freeze for st_ma_mem_root
impl RefUnwindSafe for st_ma_mem_root
impl !Send for st_ma_mem_root
impl !Sync for st_ma_mem_root
impl Unpin for st_ma_mem_root
impl UnwindSafe for st_ma_mem_root
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)