Struct symbolic::debuginfo::macho::FatMachO [−][src]
pub struct FatMachO<'d> { /* fields omitted */ }
Expand description
A fat MachO container that hosts one or more MachObject
s.
Implementations
Tries to parse a fat MachO container from the given slice.
pub fn objects(&self) -> FatMachObjectIterator<'d, '_>ⓘNotable traits for FatMachObjectIterator<'d, 'a>impl<'d, 'a> Iterator for FatMachObjectIterator<'d, 'a> type Item = Result<MachObject<'d>, MachError>;
pub fn objects(&self) -> FatMachObjectIterator<'d, '_>ⓘNotable traits for FatMachObjectIterator<'d, 'a>impl<'d, 'a> Iterator for FatMachObjectIterator<'d, 'a> type Item = Result<MachObject<'d>, MachError>;
Notable traits for FatMachObjectIterator<'d, 'a>
impl<'d, 'a> Iterator for FatMachObjectIterator<'d, 'a> type Item = Result<MachObject<'d>, MachError>;
Returns an iterator over objects in this container.
Returns the number of objects in this archive.
Resolves the object at the given index.
Returns Ok(None)
if the index is out of bounds, or Err
if the object exists but cannot
be parsed.
Trait Implementations
Auto Trait Implementations
impl<'d> RefUnwindSafe for FatMachO<'d>
impl<'d> UnwindSafe for FatMachO<'d>
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
pub fn extract_context(self, _original_input: I)
pub fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original input to the nom parser, extract more the useful context information. Read more
pub fn recreate_context(_original_input: I, tail: I) -> I
pub fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom, recreate a context in the original string where the error occurred. Read more