pub trait InMemorySize {
// Required method
fn size(&self) -> usize;
}
Expand description
Trait for calculating a heuristic for the in-memory size of a struct.
pub trait InMemorySize {
// Required method
fn size(&self) -> usize;
}
Trait for calculating a heuristic for the in-memory size of a struct.