1 | use super::*; |
---|---|
2 | |
3 | impl std::fmt::Debug for ModuleRef { |
4 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
5 | f.debug_tuple(name:"ModuleRef").field(&self.name()).finish() |
6 | } |
7 | } |
8 | |
9 | impl ModuleRef { |
10 | pub fn name(&self) -> &'static str { |
11 | self.str(column:0) |
12 | } |
13 | } |
14 |