pub trait HeapVisitor<VisitorName, T: Deref<Target = *mut mi_heap_t>>where
    Self: Sized,{
    // Required method
    fn visitor(
        &mut self,
        heap: &mi_heap_t,
        area: &mi_heap_area_t,
        block: *mut c_void,
        size: usize
    ) -> bool;

    // Provided method
    fn visit(&mut self, heap: &MiMallocHeap<T>) { ... }
}
Expand description

A custom function which visits the Heap

Required Methods§

source

fn visitor( &mut self, heap: &mi_heap_t, area: &mi_heap_area_t, block: *mut c_void, size: usize ) -> bool

Provided Methods§

source

fn visit(&mut self, heap: &MiMallocHeap<T>)

Implementors§