Struct libmimalloc_sys::mi_heap_area_t
source · #[repr(C)]pub struct mi_heap_area_t {
pub blocks: *mut c_void,
pub reserved: usize,
pub committed: usize,
pub used: usize,
pub block_size: usize,
pub full_block_size: usize,
}Expand description
An area of heap space contains blocks of a single size.
The bytes in freed blocks are committed - used.
Fields§
§blocks: *mut c_voidStart of the area containing heap blocks.
reserved: usizeBytes reserved for this area.
committed: usizeCurrent committed bytes of this area.
used: usizeBytes in use by allocated blocks.
block_size: usizeSize in bytes of one block.
full_block_size: usizeSize in bytes of a full block including padding and metadata.
Trait Implementations§
source§impl Clone for mi_heap_area_t
impl Clone for mi_heap_area_t
source§fn clone(&self) -> mi_heap_area_t
fn clone(&self) -> mi_heap_area_t
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 more