[][src]Struct fat_macho::FatReader

pub struct FatReader<'a> { /* fields omitted */ }

Mach-O fat binary reader

Implementations

impl<'a> FatReader<'a>[src]

pub fn new(buffer: &'a [u8]) -> Result<Self, Error>[src]

Parse a Mach-O FAT binary from a buffer

pub fn extract(&self, arch_name: &str) -> Option<&'a [u8]>[src]

Extract thin binary by arch name

Trait Implementations

impl<'a> Debug for FatReader<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for FatReader<'a>[src]

impl<'a> Send for FatReader<'a>[src]

impl<'a> Sync for FatReader<'a>[src]

impl<'a> Unpin for FatReader<'a>[src]

impl<'a> UnwindSafe for FatReader<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.