Struct libc::mach_header 
source · #[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,
}👎Deprecated since 0.2.55: Use the 
mach2 crate insteadFields§
§magic: u32👎Deprecated since 0.2.55: Use the 
§mach2 crate insteadcputype: cpu_type_t👎Deprecated since 0.2.55: Use the 
§mach2 crate insteadcpusubtype: cpu_subtype_t👎Deprecated since 0.2.55: Use the 
§mach2 crate insteadfiletype: u32👎Deprecated since 0.2.55: Use the 
§mach2 crate insteadncmds: u32👎Deprecated since 0.2.55: Use the 
§mach2 crate insteadsizeofcmds: u32👎Deprecated since 0.2.55: Use the 
§mach2 crate insteadflags: u32👎Deprecated since 0.2.55: Use the 
mach2 crate insteadTrait 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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreimpl Copy for mach_header
Auto Trait Implementations§
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