Struct goblin::mach::fat::FatArch [] [src]

#[repr(C)]
pub struct FatArch { pub cputype: u32, pub cpusubtype: u32, pub offset: u32, pub size: u32, pub align: u32, }

The Mach-o FatArch always has its data bigendian

Fields

What kind of CPU this binary is

Where in the fat binary it starts

How big the binary is

Methods

impl FatArch
[src]

Get the slice of bytes this header describes from bytes

Whether this fat architecture header describes a 64-bit binary

Parse a FatArch header from bytes at offset

Trait Implementations

impl Clone for FatArch
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for FatArch
[src]

impl Default for FatArch
[src]

Returns the "default value" for a type. Read more

impl<'a> TryFromCtx<'a> for FatArch where
    FatArch: 'a, 
[src]

impl TryIntoCtx for FatArch
[src]

impl SizeWith for FatArch
[src]

impl Debug for FatArch
[src]

Formats the value using the given formatter.