Trait azul_wr_malloc_size_of::MallocSizeOf[][src]

pub trait MallocSizeOf {
    fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize;
}
Expand description

Trait for measuring the “deep” heap usage of a data structure. This is the most commonly-used of the traits.

Required methods

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself.

Implementations on Foreign Types

Implementors