Struct goblin::mach::header::Header [] [src]

#[repr(C)]
pub struct Header { pub magic: u32, pub cputype: u32, pub cpusubtype: u8, pub padding1: u8, pub padding2: u8, pub caps: u8, pub filetype: u32, pub ncmds: u32, pub sizeofcmds: u32, pub flags: u32, pub reserved: u32, }

Fields

Methods

impl Header
[src]

Returns the corresponding Mach-o header from the given byte array

Trait Implementations

impl Clone for Header
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Header
[src]

impl Default for Header
[src]

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

impl Debug for Header
[src]

Formats the value using the given formatter.