luaur_analysis/methods/generic_counter_visit_generalization_alt_e.rs
1use crate::records::generic_counter::GenericCounter;
2
3impl GenericCounter {
4 pub fn visit_type_id_generic_type(&mut self) -> bool {
5 // Mirrors the C++:
6 // bool visit(TypeId ty, const GenericType&) override { ... }
7 //
8 // This Rust one-shot item only specifies the generic-type visit hook;
9 // the TypeId is provided by the visitor dispatch into GenericCounter.
10 self.visit_type_id()
11 }
12}