#[repr(C)]pub struct FatArch32 {
pub cputype: U32<BigEndian>,
pub cpusubtype: U32<BigEndian>,
pub offset: U32<BigEndian>,
pub size: U32<BigEndian>,
pub align: U32<BigEndian>,
}
Fields§
§cputype: U32<BigEndian>
cpu specifier (int)
cpusubtype: U32<BigEndian>
machine specifier (int)
offset: U32<BigEndian>
file offset to this object file
size: U32<BigEndian>
size of this object file
align: U32<BigEndian>
alignment as a power of 2
Trait Implementations§
source§impl FatArch for FatArch32
impl FatArch for FatArch32
type Word = u32
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 file_range(&self) -> (u64, u64)
fn data<'data, R: ReadRef<'data>>(&self, file: R) -> Result<&'data [u8]>
impl Copy for FatArch32
impl Pod for FatArch32
Auto Trait Implementations§
impl RefUnwindSafe for FatArch32
impl Send for FatArch32
impl Sync for FatArch32
impl Unpin for FatArch32
impl UnwindSafe for FatArch32
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more