Struct object::read::macho::MachOFatFile
source · 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§
source§impl<'data, Fat: Clone + FatArch> Clone for MachOFatFile<'data, Fat>
impl<'data, Fat: Clone + FatArch> Clone for MachOFatFile<'data, Fat>
source§fn clone(&self) -> MachOFatFile<'data, Fat>
fn clone(&self) -> MachOFatFile<'data, Fat>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)