Crate wr_malloc_size_of
source ·Expand description
A reduced fork of Firefox’s malloc_size_of crate, for bundling with WebRender.
Macros§
- For use on types where size_of() returns 0.
Structs§
- Operations used when measuring heap usage of data structures.
Traits§
- Trait for measuring the “shallow” heap usage of a container.
- Trait for measuring the “deep” heap usage of a data structure. This is the most commonly-used of the traits.
Type Aliases§
- A C function that takes a pointer to a heap allocation and returns its size.