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: usize, pub sizeofcmds: u32, pub flags: u32, pub reserved: u32, }

Generic sized header

Fields

type of file

number of load commands

the size of all the load commands

flags

Methods

impl Header
[src]

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.

impl From<Header32> for Header
[src]

Performs the conversion.

impl From<Header64> for Header
[src]

Performs the conversion.

impl SizeWith<Container> for Header
[src]

impl<'a> TryFromCtx<'a, (usize, DefaultCtx)> for Header
[src]