pub trait MallocConditionalShallowSizeOf {
    // Required method
    fn conditional_shallow_size_of(&self, ops: &mut MallocSizeOfOps) -> usize;
}
Expand description

MallocConditionalSizeOf combined with MallocShallowSizeOf.

Required Methods§

source

fn conditional_shallow_size_of(&self, ops: &mut MallocSizeOfOps) -> usize

conditional_size_of combined with shallow_size_of.

Implementations on Foreign Types§

source§

impl<T> MallocConditionalShallowSizeOf for Arc<T>

Implementors§