Function parity_util_mem::malloc_size[][src]

pub fn malloc_size<T: MallocSizeOf + ?Sized>(t: &T) -> usize

Heap size of structure.

Structure can be anything that implements MallocSizeOf.