| 1 | use super::*; |
|---|---|
| 2 | |
| 3 | impl std::fmt::Debug for ImplMap { |
| 4 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 5 | f.debug_tuple(name:"ImplMap").field(&self.import_name()).finish() |
| 6 | } |
| 7 | } |
| 8 | |
| 9 | impl ImplMap { |
| 10 | pub fn flags(&self) -> PInvokeAttributes { |
| 11 | PInvokeAttributes(self.usize(column:0)) |
| 12 | } |
| 13 | |
| 14 | pub fn scope(&self) -> ModuleRef { |
| 15 | ModuleRef(self.row(column:3)) |
| 16 | } |
| 17 | |
| 18 | pub fn import_name(&self) -> &'static str { |
| 19 | self.str(column:2) |
| 20 | } |
| 21 | } |
| 22 |
