#[repr(C)]pub struct FatHeader {
pub magic: u32,
pub nfat_arch: u32,
}
Expand description
The Mach-o FatHeader
always has its data bigendian
Fields§
§magic: u32
The magic number, cafebabe
nfat_arch: u32
How many fat architecture headers there are
Implementations§
Trait Implementations§
source§impl<'a> TryIntoCtx<Endian> for &'a FatHeader
impl<'a> TryIntoCtx<Endian> for &'a FatHeader
source§impl TryIntoCtx<Endian> for FatHeader
impl TryIntoCtx<Endian> for FatHeader
impl Copy for FatHeader
Auto Trait Implementations§
impl RefUnwindSafe for FatHeader
impl Send for FatHeader
impl Sync for FatHeader
impl Unpin for FatHeader
impl UnwindSafe for FatHeader
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