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

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

A 32-bit Mach-o header

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 Header32
[src]

Transmutes the given byte array into the corresponding 32-bit Mach-o header

Trait Implementations

impl Clone for Header32
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Header32
[src]

impl Default for Header32
[src]

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

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

impl TryIntoCtx for Header32
[src]

impl SizeWith for Header32
[src]

impl Plain for Header32
[src]

impl Debug for Header32
[src]

Formats the value using the given formatter.