pub struct MachOFatFile<'data, Fat: FatArch> {
header: &'data FatHeader,
arches: &'data [Fat],
}
Expand description
A Mach-O universal binary.
This is a file that starts with macho::FatHeader
, and corresponds
to crate::FileKind::MachOFat32
or crate::FileKind::MachOFat64
.
Fields§
§header: &'data FatHeader
§arches: &'data [Fat]
Implementations§
source§impl<'data, Fat: FatArch> MachOFatFile<'data, Fat>
impl<'data, Fat: FatArch> MachOFatFile<'data, Fat>
Trait Implementations§
Auto Trait Implementations§
impl<'data, Fat> Freeze for MachOFatFile<'data, Fat>
impl<'data, Fat> RefUnwindSafe for MachOFatFile<'data, Fat>where
Fat: RefUnwindSafe,
impl<'data, Fat> Send for MachOFatFile<'data, Fat>where
Fat: Sync,
impl<'data, Fat> Sync for MachOFatFile<'data, Fat>where
Fat: Sync,
impl<'data, Fat> Unpin for MachOFatFile<'data, Fat>
impl<'data, Fat> UnwindSafe for MachOFatFile<'data, Fat>where
Fat: RefUnwindSafe,
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