[−][src]Function shredder::number_of_tracked_allocations
#[must_use]pub fn number_of_tracked_allocations() -> usize
Returns how many underlying allocations are currently allocated.
Example
use shredder::{number_of_tracked_allocations, Gc}; let data = Gc::new(128); assert!(number_of_tracked_allocations() > 0);