#[repr(C)]pub struct FatArch64 {
pub cputype: U32<BigEndian>,
pub cpusubtype: U32<BigEndian>,
pub offset: U64<BigEndian>,
pub size: U64<BigEndian>,
pub align: U32<BigEndian>,
pub reserved: U32<BigEndian>,
}
Fields
cputype: U32<BigEndian>
cpu specifier (int)
cpusubtype: U32<BigEndian>
machine specifier (int)
offset: U64<BigEndian>
file offset to this object file
size: U64<BigEndian>
size of this object file
align: U32<BigEndian>
alignment as a power of 2
reserved: U32<BigEndian>
reserved
Trait Implementations
sourceimpl FatArch for FatArch64
impl FatArch for FatArch64
type Word = u64
fn cputype(&self) -> u32
fn cpusubtype(&self) -> u32
fn offset(&self) -> Self::Word
fn size(&self) -> Self::Word
fn align(&self) -> u32
fn architecture(&self) -> Architecture
fn file_range(&self) -> (u64, u64)
fn data<'data, R: ReadRef<'data>>(&self, file: R) -> Result<&'data [u8]>
impl Copy for FatArch64
impl Pod for FatArch64
Auto Trait Implementations
impl RefUnwindSafe for FatArch64
impl Send for FatArch64
impl Sync for FatArch64
impl Unpin for FatArch64
impl UnwindSafe for FatArch64
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more