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 more
Auto 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more