pub fn set_enabled(enabled: bool) -> boolExpand description
Enable or disable tracking; returns the previous state.
An explicit call is always authoritative over the MIMALLOC_MEMORY_EVENTS
environment read: called before the first allocation it replaces that read;
called after, it overrides the cached flag. Re-enabling does not reconstruct what
happened while tracking was off.