heapsz 0.1.0

A crate for calculating the heap usage of a data structure.
Documentation
1
2
3
4
5
impl crate::HeapSize for bytes::Bytes {
    fn heap_size(&self) -> usize {
        self.len()
    }
}