pub trait FatArch: Pod {
    type Word: Into<u64>;
    fn cputype(&self) -> u32;
    fn cpusubtype(&self) -> u32;
    fn offset(&self) -> Self::Word;
    fn size(&self) -> Self::Word;
    fn align(&self) -> u32;
    fn architecture(&self) -> Architecture { ... }
    fn data<'data>(&self, file: &'data [u8]) -> Result<&'data [u8]> { ... }
}Expand description
A trait for generic access to FatArch32 and FatArch64.