#[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