[][src]Struct pelite::pe64::imports::Imports

pub struct Imports<'a, P> { /* fields omitted */ }

Import directory.

For more information see the module-level documentation.

Methods

impl<'a, P: Pe<'a>> Imports<'a, P>[src]

pub fn pe(&self) -> P[src]

Gets the PE instance.

pub fn image(&self) -> &'a [IMAGE_IMPORT_DESCRIPTOR][src]

Returns the underlying import directory image array.

Important traits for Iter<'a, P>
pub fn iter(&self) -> Iter<'a, P>[src]

Iterator over the import descriptors.

Trait Implementations

impl<'a, P: Clone> Clone for Imports<'a, P>[src]

impl<'a, P: Pe<'a>> IntoIterator for Imports<'a, P>[src]

type Item = Desc<'a, P>

The type of the elements being iterated over.

type IntoIter = Iter<'a, P>

Which kind of iterator are we turning this into?

impl<'a, P: Copy> Copy for Imports<'a, P>[src]

impl<'a, P: Pe<'a>> Debug for Imports<'a, P>[src]

impl<'a, P: Pe<'a>> Serialize for Imports<'a, P>[src]

Auto Trait Implementations

impl<'a, P> Sync for Imports<'a, P> where
    P: Sync

impl<'a, P> Send for Imports<'a, P> where
    P: Send

impl<'a, P> Unpin for Imports<'a, P> where
    P: Unpin

impl<'a, P> UnwindSafe for Imports<'a, P> where
    P: UnwindSafe

impl<'a, P> RefUnwindSafe for Imports<'a, P> where
    P: RefUnwindSafe

Blanket Implementations

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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]