Struct object::read::coff::CoffFile[][src]

pub struct CoffFile<'data, R: ReadRef<'data> = &'data [u8]> { /* fields omitted */ }

A COFF object file.

Implementations

impl<'data, R: ReadRef<'data>> CoffFile<'data, R>[src]

pub fn parse(data: R) -> Result<Self>[src]

Parse the raw COFF file data.

Trait Implementations

impl<'data, R: Debug + ReadRef<'data>> Debug for CoffFile<'data, R>[src]

impl<'data, 'file, R> Object<'data, 'file> for CoffFile<'data, R> where
    'data: 'file,
    R: 'file + ReadRef<'data>, 
[src]

type Segment = CoffSegment<'data, 'file, R>

A segment in the object file.

type SegmentIterator = CoffSegmentIterator<'data, 'file, R>

An iterator over the segments in the object file.

type Section = CoffSection<'data, 'file, R>

A section in the object file.

type SectionIterator = CoffSectionIterator<'data, 'file, R>

An iterator over the sections in the object file.

type Comdat = CoffComdat<'data, 'file, R>

A COMDAT section group in the object file.

type ComdatIterator = CoffComdatIterator<'data, 'file, R>

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

type Symbol = CoffSymbol<'data, 'file>

A symbol in the object file.

type SymbolIterator = CoffSymbolIterator<'data, 'file>

An iterator over symbols in the object file.

type SymbolTable = CoffSymbolTable<'data, 'file>

A symbol table in the object file.

type DynamicRelocationIterator = NoDynamicRelocationIterator

An iterator over dynamic relocations in the file. Read more

Auto Trait Implementations

impl<'data, R> RefUnwindSafe for CoffFile<'data, R> where
    R: RefUnwindSafe

impl<'data, R> Send for CoffFile<'data, R> where
    R: Send

impl<'data, R> Sync for CoffFile<'data, R> where
    R: Sync

impl<'data, R> Unpin for CoffFile<'data, R> where
    R: Unpin

impl<'data, R> UnwindSafe for CoffFile<'data, R> where
    R: UnwindSafe

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.