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 more
sourceimpl Debug for mach_header_64
impl Debug for mach_header_64
sourceimpl Hash for mach_header_64
impl Hash for mach_header_64
sourceimpl PartialEq<mach_header_64> for mach_header_64
impl PartialEq<mach_header_64> for mach_header_64
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &mach_header_64) -> bool
fn ne(&self, other: &mach_header_64) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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