Skip to main content

counted

Function counted 

Source
pub fn counted() -> bool
Expand description

Whether the calling thread’s allocations are counted. It allocates nothing, so a global allocator may ask it.