1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::*;

#[derive(Clone)]
pub struct ImplMap(pub Row);

impl ImplMap {
    pub fn flags(&self) -> PInvokeAttributes {
        PInvokeAttributes(self.0.u32(0))
    }

    pub fn scope(&self) -> ModuleRef {
        ModuleRef(Row::new(self.0.u32(3) - 1, TableIndex::ModuleRef, self.0.file))
    }
}