Struct mach_o::Header [] [src]

pub struct Header<'a> { /* fields omitted */ }

A mach-o file header.

Methods

impl<'a> Header<'a>
[src]

Parse the mach-o file header from the given input slice.

Get the magic value for this header.

Returns true if the object file is encoded with the same byteorder that the current platform uses natively.

Returns true if the object file is 64-bit, false if it is 32-bit.

Get the data for a given section, if it exists.

Trait Implementations

impl<'a> Copy for Header<'a>
[src]

impl<'a> Clone for Header<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Header<'a>
[src]

Formats the value using the given formatter.