[][src]Struct object::read::File

pub struct File<'data> { /* fields omitted */ }

An object file.

Most functionality is provided by the Object trait implementation.

Implementations

impl<'data> File<'data>[src]

pub fn parse(data: &'data [u8]) -> Result<Self>[src]

Parse the raw file data.

pub fn format(&self) -> BinaryFormat[src]

Return the file format.

Trait Implementations

impl<'data> Debug for File<'data>[src]

impl<'data, 'file> Object<'data, 'file> for File<'data> where
    'data: 'file, 
[src]

type Segment = Segment<'data, 'file>

A segment in the object file.

type SegmentIterator = SegmentIterator<'data, 'file>

An iterator over the segments in the object file.

type Section = Section<'data, 'file>

A section in the object file.

type SectionIterator = SectionIterator<'data, 'file>

An iterator over the sections in the object file.

type SymbolIterator = SymbolIterator<'data, 'file>

An iterator over the symbols in the object file.

Auto Trait Implementations

impl<'data> Send for File<'data>

impl<'data> Sync for File<'data>

impl<'data> Unpin for File<'data>

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.