/// Reset the allocator.
///
/// All previously allocated chunks will be marked as free.
///
/// Safety:
///
///  - Of course, all values that were previously allocated using this
///    allocator are now garbage. You shouldn't try to read them anymore!
Reset the allocator.
All previously allocated chunks will be marked as free.



Of course, all values that were previously allocated using this
allocator are now garbage. You shouldn't try to read them anymore!
Reset the allocator . All previously allocated chunks will be marked as free . Of course all values that were previously allocated using this allocator are now garbage . You shouldn ' t try to read them anymore!
pub unsafe fn reset(&self) {
        let mut control_data = self.control_data.write().unwrap();
        control_data.mark_current_chunk_as_filled();
        control_data.mark_filled_chunks_as_free();
    }
pub unsafe fn reset ( & self ) { let mut control_data = self . control_data . write ( ) . unwrap ( ) ; control_data . mark_current_chunk_as_filled ( ) ; control_data . mark_filled_chunks_as_free ( ) ; }
Reset the allocator.
Reset the allocator .
&self