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§
Source§impl<'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§
Source§impl<'data> Clone for ImportThunkList<'data>
impl<'data> Clone for ImportThunkList<'data>
Source§fn clone(&self) -> ImportThunkList<'data>
fn clone(&self) -> ImportThunkList<'data>
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'data> Freeze for ImportThunkList<'data>
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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)