pub trait HeapSize { // Provided method fn heap_size(&self) -> (usize, usize) { ... } }
Active (len) and allocated (cap) heap sizes in bytes. This should not include the size of self itself.
self