Enum pelite::pe32::imports::Import[][src]

pub enum Import<'a> {
    ByName {
        hint: usize,
        name: &'a CStr,
    },
    ByOrdinal {
        ord: Ordinal,
    },
}

Imported symbol.

Variants

Imported by name.

The hint is an index in the export names table that may contain the desired symbol. For more information see this blog post by Raymond Chen.

Fields of ByName

Imported by ordinal.

Fields of ByOrdinal

Trait Implementations

impl<'b, 'a, P: Pe<'a> + Copy> GetProcAddress<'a, Import<'b>> for P
[src]

Convenient method to get an exported function. Read more

Convenient method to get the address of an exported function. Read more

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

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

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