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 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 insteadreserved: u32👎Deprecated since 0.2.55: Use the
mach2 crate insteadTrait Implementations§
source§impl Clone for mach_header_64
impl Clone for mach_header_64
source§fn clone(&self) -> mach_header_64
fn clone(&self) -> mach_header_64
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 moresource§impl Debug for mach_header_64
impl Debug for mach_header_64
source§impl Hash for mach_header_64
impl Hash for mach_header_64
source§impl PartialEq<mach_header_64> for mach_header_64
impl PartialEq<mach_header_64> for mach_header_64
source§fn eq(&self, other: &mach_header_64) -> bool
fn eq(&self, other: &mach_header_64) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for mach_header_64
impl Eq for mach_header_64
impl StructuralEq for mach_header_64
impl StructuralPartialEq 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§
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