Function parity_util_mem::malloc_size
source · [−]pub fn malloc_size<T: MallocSizeOf + ?Sized>(t: &T) -> usizeExpand description
Heap size of structure.
Structure can be anything that implements MallocSizeOf.
pub fn malloc_size<T: MallocSizeOf + ?Sized>(t: &T) -> usizeHeap size of structure.
Structure can be anything that implements MallocSizeOf.