Struct libc::mach_header_64
source · [−]#[repr(C)]pub struct mach_header_64 {
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,
pub reserved: 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
reserved: u32
👎Deprecated since 0.2.55:
Use the mach2
crate instead
Trait Implementations
sourceimpl Clone for mach_header_64
impl Clone for mach_header_64
sourcefn clone(&self) -> mach_header_64
fn clone(&self) -> mach_header_64
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_64
Auto Trait Implementations
impl RefUnwindSafe for mach_header_64
impl Send for mach_header_64
impl Sync for mach_header_64
impl Unpin for mach_header_64
impl UnwindSafe for mach_header_64
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