Struct mach_object::MachHeader [] [src]

pub struct MachHeader {
    pub magic: u32,
    pub cputype: cpu_type_t,
    pub cpusubtype: cpu_subtype_t,
    pub filetype: u32,
    pub ncmds: u32,
    pub sizeofcmds: u32,
    pub flags: u32,
}

The mach header appears at the very beginning of the object file

Fields

mach magic number identifier

cpu specifier

machine specifier

type of file

number of load commands

the size of all the load commands

flags

Methods

impl MachHeader
[src]

[src]

[src]

Trait Implementations

impl Debug for MachHeader
[src]

[src]

Formats the value using the given formatter.

impl Default for MachHeader
[src]

[src]

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

impl Clone for MachHeader
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for MachHeader
[src]

[src]

Formats the value using the given formatter. Read more