pub struct ImportThunkList<'data> { /* private fields */ }
Expand description
A list of import thunks.
These may be in the import lookup table, or the import address table.
Implementations
sourceimpl<'data> ImportThunkList<'data>
impl<'data> ImportThunkList<'data>
sourcepub fn get<Pe: ImageNtHeaders>(&self, index: usize) -> Result<Pe::ImageThunkData>
pub fn get<Pe: ImageNtHeaders>(&self, index: usize) -> Result<Pe::ImageThunkData>
Get the thunk at the given index.
sourcepub fn next<Pe: ImageNtHeaders>(&mut self) -> Result<Option<Pe::ImageThunkData>>
pub fn next<Pe: ImageNtHeaders>(&mut self) -> Result<Option<Pe::ImageThunkData>>
Return the first thunk in the list, and update self
to point after it.
Returns Ok(None)
when a null thunk is found.
Trait Implementations
sourceimpl<'data> Clone for ImportThunkList<'data>
impl<'data> Clone for ImportThunkList<'data>
sourcefn clone(&self) -> ImportThunkList<'data>
fn clone(&self) -> ImportThunkList<'data>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<'data> RefUnwindSafe for ImportThunkList<'data>
impl<'data> Send for ImportThunkList<'data>
impl<'data> Sync for ImportThunkList<'data>
impl<'data> Unpin for ImportThunkList<'data>
impl<'data> UnwindSafe for ImportThunkList<'data>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more