[−][src]Struct pelite::pe32::imports::Desc
Import library descriptor.
Methods
impl<'a, P: Pe<'a>> Desc<'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 descriptor image.
pub fn dll_name(&self) -> Result<&'a CStr>
[src]
Gets the name of the DLL imported from.
pub fn iat(&self) -> Result<Iter<'a, Va>>
[src]
Gets the import address table.
After being loaded as a library their values are resolved to the addresses of the imported functions.
Otherwise these contain references to the imported functions.
See import_from_va
to get their names.
pub fn int(
&self
) -> Result<Map<Iter<'a, Va>, impl Clone + FnMut(&'a Va) -> Result<Import<'a>>>>
[src]
&self
) -> Result<Map<Iter<'a, Va>, impl Clone + FnMut(&'a Va) -> Result<Import<'a>>>>
Gets the import name table.
Trait Implementations
impl<'a, P: Clone> Clone for Desc<'a, P>
[src]
impl<'a, P: Copy> Copy for Desc<'a, P>
[src]
impl<'a, P: Pe<'a>> Debug for Desc<'a, P>
[src]
impl<'a, P: Pe<'a>> Serialize for Desc<'a, P>
[src]
Auto Trait Implementations
impl<'a, P> Sync for Desc<'a, P> where
P: Sync,
P: Sync,
impl<'a, P> Send for Desc<'a, P> where
P: Send,
P: Send,
impl<'a, P> Unpin for Desc<'a, P> where
P: Unpin,
P: Unpin,
impl<'a, P> UnwindSafe for Desc<'a, P> where
P: UnwindSafe,
P: UnwindSafe,
impl<'a, P> RefUnwindSafe for Desc<'a, P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,