#[repr(C)]pub struct mach_header {
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,
}
Fields§
§magic: u32
§cputype: cpu_type_t
§cpusubtype: cpu_subtype_t
§filetype: u32
§ncmds: u32
§sizeofcmds: u32
§flags: u32
Trait Implementations§
Source§impl Clone for mach_header
impl Clone for mach_header
Source§fn clone(&self) -> mach_header
fn clone(&self) -> mach_header
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for mach_header
impl Debug for mach_header
impl Copy for mach_header
Auto Trait Implementations§
impl Freeze for mach_header
impl RefUnwindSafe for mach_header
impl Send for mach_header
impl Sync for mach_header
impl Unpin for mach_header
impl UnwindSafe for mach_header
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more