pub trait HasType: Debug { // Required method fn get_type(&self, state: &TypeState) -> Result<TypeVar>; }