pub struct FatReader<'a> { /* private fields */ }
Expand description
Mach-O fat binary reader
Implementations§
Methods from Deref<Target = MultiArch<'a>>§
Sourcepub fn iter_arches(&self) -> FatArchIterator<'_>
pub fn iter_arches(&self) -> FatArchIterator<'_>
Iterate every fat arch header
Sourcepub fn arches(&self) -> Result<Vec<FatArch>, Error>
pub fn arches(&self) -> Result<Vec<FatArch>, Error>
Return all the architectures in this binary
Sourcepub fn get(&self, index: usize) -> Result<SingleArch<'a>, Error>
pub fn get(&self, index: usize) -> Result<SingleArch<'a>, Error>
Try to get the Mach-o binary at index
pub fn find<F>(&'a self, f: F) -> Option<Result<SingleArch<'a>, Error>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FatReader<'a>
impl<'a> RefUnwindSafe for FatReader<'a>
impl<'a> Send for FatReader<'a>
impl<'a> Sync for FatReader<'a>
impl<'a> Unpin for FatReader<'a>
impl<'a> UnwindSafe for FatReader<'a>
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