pub struct Exports<'a, P> { /* private fields */ }
Expand description
Export directory.
For more information see the module-level documentation.
Implementations
sourceimpl<'a, P: Pe<'a>> Exports<'a, P>
impl<'a, P: Pe<'a>> Exports<'a, P>
sourcepub fn image(&self) -> &'a IMAGE_EXPORT_DIRECTORY
pub fn image(&self) -> &'a IMAGE_EXPORT_DIRECTORY
Returns the underlying export directory image.
sourcepub fn ordinal_base(&self) -> Ordinal
pub fn ordinal_base(&self) -> Ordinal
Gets the ordinal base for the exported functions.
sourcepub fn names(&self) -> Result<&'a [Rva]>
pub fn names(&self) -> Result<&'a [Rva]>
Gets the name address table.
The values are RVAs to the exported function’s name, to find its export look at the name index table with the same index.
The names are sorted allowing binary search lookup.
sourcepub fn name_indices(&self) -> Result<&'a [u16]>
pub fn name_indices(&self) -> Result<&'a [u16]>
Gets the name index table.
The values are indices (not ordinals!) into the export address table matching name with the same index in the name address table.
Trait Implementations
impl<'a, P: Copy> Copy for Exports<'a, P>
Auto Trait Implementations
impl<'a, P> RefUnwindSafe for Exports<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for Exports<'a, P>where
P: Send,
impl<'a, P> Sync for Exports<'a, P>where
P: Sync,
impl<'a, P> Unpin for Exports<'a, P>where
P: Unpin,
impl<'a, P> UnwindSafe for Exports<'a, P>where
P: UnwindSafe,
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