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

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

Imported symbol.

Variants

ByName

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

hint: usizename: &'a CStr
ByOrdinal

Imported by ordinal.

Fields of ByOrdinal

ord: u16

Trait Implementations

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

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

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for 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]

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

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