use super::*;
impl std::fmt::Debug for ImplMap<'_> {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
f.debug_tuple("ImplMap").field(&self.import_name()).finish()
}
}
impl<'a> ImplMap<'a> {
pub fn flags(&self) -> PInvokeAttributes {
PInvokeAttributes(self.usize(0).try_into().unwrap())
}
pub fn import_name(&self) -> &str {
self.str(2)
}
pub fn import_scope(&self) -> ModuleRef<'a> {
self.row(3)
}
}