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

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 Comdat = Comdat<'data, 'file>

A COMDAT section group in the object file.

type ComdatIterator = ComdatIterator<'data, 'file>

An iterator over the COMDAT section groups in the object file.

type Symbol = Symbol<'data, 'file>

A symbol in the object file.

type SymbolIterator = SymbolIterator<'data, 'file>

An iterator over symbols in the object file.

type SymbolTable = SymbolTable<'data, 'file>

A symbol table in the object file.

type DynamicRelocationIterator = DynamicRelocationIterator<'data, 'file>

An iterator over dynamic relocations in the file. Read more

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.