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 instead
Fields
magic: u32
👎Deprecated since 0.2.55:
Use the mach2
crate instead
cputype: cpu_type_t
👎Deprecated since 0.2.55:
Use the mach2
crate instead
cpusubtype: cpu_subtype_t
👎Deprecated since 0.2.55:
Use the mach2
crate instead
filetype: u32
👎Deprecated since 0.2.55:
Use the mach2
crate instead
ncmds: u32
👎Deprecated since 0.2.55:
Use the mach2
crate instead
sizeofcmds: u32
👎Deprecated since 0.2.55:
Use the mach2
crate instead
flags: u32
👎Deprecated since 0.2.55:
Use the mach2
crate instead
Trait Implementations
sourceimpl Clone for mach_header
impl Clone for mach_header
sourcefn clone(&self) -> mach_header
fn clone(&self) -> mach_header
Returns a copy of the value. Read more
1.0.0 · sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more