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, Global>, Error>
pub fn arches(&self) -> Result<Vec<FatArch, Global>, 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>>where
F: Fn(Result<FatArch, Error>) -> bool,
Trait Implementations
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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