#[repr(C)]pub struct FatArch32 {
pub cputype: U32<BigEndian>,
pub cpusubtype: U32<BigEndian>,
pub offset: U32<BigEndian>,
pub size: U32<BigEndian>,
pub align: U32<BigEndian>,
}
Fields
cputype: U32<BigEndian>
cpu specifier (int)
cpusubtype: U32<BigEndian>
machine specifier (int)
offset: U32<BigEndian>
file offset to this object file
size: U32<BigEndian>
size of this object file
align: U32<BigEndian>
alignment as a power of 2
Trait Implementations
sourceimpl FatArch for FatArch32
impl FatArch for FatArch32
type Word = u32
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 FatArch32
impl Pod for FatArch32
Auto Trait Implementations
impl RefUnwindSafe for FatArch32
impl Send for FatArch32
impl Sync for FatArch32
impl Unpin for FatArch32
impl UnwindSafe for FatArch32
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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