#[repr(C)]
pub struct st_mem_root { pub free: *mut USED_MEM, pub used: *mut USED_MEM, pub pre_alloc: *mut USED_MEM, pub min_malloc: usize, pub block_size: usize, pub block_num: c_uint, pub first_block_usage: c_uint, pub max_capacity: usize, pub allocated_size: usize, pub error_for_capacity_exceeded: my_bool, pub error_handler: Option<unsafe extern "C" fn()>, pub m_psi_key: PSI_memory_key, }

Fields

free: *mut USED_MEMused: *mut USED_MEMpre_alloc: *mut USED_MEMmin_malloc: usizeblock_size: usizeblock_num: c_uintfirst_block_usage: c_uintmax_capacity: usizeallocated_size: usizeerror_for_capacity_exceeded: my_boolerror_handler: Option<unsafe extern "C" fn()>m_psi_key: PSI_memory_key

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.