[][src]Struct goblin::pe::import::Import

pub struct Import<'a> {
    pub name: Cow<'a, str>,
    pub dll: &'a str,
    pub ordinal: u16,
    pub offset: usize,
    pub rva: usize,
    pub size: usize,
}

A synthesized symbol import, the name is pre-indexed, and the binary offset is computed, as well as which dll it belongs to

Fields

name: Cow<'a, str>dll: &'a strordinal: u16offset: usizerva: usizesize: usize

Methods

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

pub fn parse<T: Bitfield<'a>>(
    _bytes: &'a [u8],
    import_data: &ImportData<'a>,
    _sections: &[SectionTable]
) -> Result<Vec<Import<'a>>>
[src]

Trait Implementations

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

Auto Trait Implementations

impl<'a> Send for Import<'a>

impl<'a> Unpin for Import<'a>

impl<'a> Sync for Import<'a>

impl<'a> UnwindSafe for Import<'a>

impl<'a> RefUnwindSafe for Import<'a>

Blanket Implementations

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.

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

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

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