#[repr(C)]pub struct mi_profiler_t {
pub reserved: *mut c_void,
pub sample_data_size: size_t,
pub initial_sample_rate: size_t,
pub on_alloc: Option<mi_profiler_on_alloc_fun>,
pub on_free: Option<mi_profiler_on_free_fun>,
pub on_realloc_inplace: Option<mi_profiler_on_realloc_inplace_fun>,
}Expand description
Experimental mimalloc profiling hook table.
Fields§
§reserved: *mut c_void§sample_data_size: size_t§initial_sample_rate: size_t§on_alloc: Option<mi_profiler_on_alloc_fun>§on_free: Option<mi_profiler_on_free_fun>§on_realloc_inplace: Option<mi_profiler_on_realloc_inplace_fun>Auto Trait Implementations§
impl !Send for mi_profiler_t
impl !Sync for mi_profiler_t
impl Freeze for mi_profiler_t
impl RefUnwindSafe for mi_profiler_t
impl Unpin for mi_profiler_t
impl UnsafeUnpin for mi_profiler_t
impl UnwindSafe for mi_profiler_t
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