pub trait MallocConditionalShallowSizeOf {
// Required method
fn conditional_shallow_size_of(&self, ops: &mut MallocSizeOfOps) -> usize;
}
Expand description
MallocConditionalSizeOf
combined with MallocShallowSizeOf
.
Required Methods§
sourcefn conditional_shallow_size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn conditional_shallow_size_of(&self, ops: &mut MallocSizeOfOps) -> usize
conditional_size_of
combined with shallow_size_of
.