Expand description
A reduced fork of Firefox’s malloc_size_of crate, for bundling with WebRender.
Macros§
- malloc_
size_ of_ is_ 0  - For use on types where size_of() returns 0.
 
Structs§
- Malloc
Size OfOps  - Operations used when measuring heap usage of data structures.
 
Traits§
- Malloc
Shallow Size Of  - Trait for measuring the “shallow” heap usage of a container.
 - Malloc
Size Of  - Trait for measuring the “deep” heap usage of a data structure. This is the most commonly-used of the traits.
 
Functions§
- new_
malloc_ size_ ops  - Get a new instance of a MallocSizeOfOps