pub trait ResidentSize {
// Required method
fn resident_size(&self) -> usize;
}Expand description
An indicator of the resident in memory of a value.
Required Methods§
Sourcefn resident_size(&self) -> usize
fn resident_size(&self) -> usize
Return the resident size of the value. Users of the trait will depend on this value to remain stable unless the value is mutated.