pub trait WeightOf {
// Required method
fn weight_of(&self) -> usize;
}
Expand description
Approximates the size of an AST without including indirection (pointers) or padding
pub trait WeightOf {
// Required method
fn weight_of(&self) -> usize;
}
Approximates the size of an AST without including indirection (pointers) or padding