pub trait GetValue<T> { // Required method fn get_value(&self, var: VarId) -> T; }
Trait for type-safe value extraction (panicking version)