Type Alias object::read::macho::MachOFatFile64

source ·
pub type MachOFatFile64<'data> = MachOFatFile<'data, FatArch64>;
Expand description

A 64-bit Mach-O universal binary.

This is a file that starts with macho::FatHeader, and corresponds to crate::FileKind::MachOFat64.

Aliased Type§

struct MachOFatFile64<'data> { /* private fields */ }

Implementations

source§

impl<'data, Fat: FatArch> MachOFatFile<'data, Fat>

source

pub fn parse<R: ReadRef<'data>>(data: R) -> Result<Self>

Attempt to parse the fat header and fat arches.

source

pub fn header(&self) -> &'data FatHeader

Return the fat header

source

pub fn arches(&self) -> &'data [Fat]

Return the array of fat arches.

Trait Implementations

source§

impl<'data, Fat: Clone + FatArch> Clone for MachOFatFile<'data, Fat>

source§

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)

Performs copy-assignment from source. Read more
source§

impl<'data, Fat: Debug + FatArch> Debug for MachOFatFile<'data, Fat>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more