pub struct Entry<'a> { /* private fields */ }
Expand description
Structure which represents an entry in the export table.
It implements the generic::Symbol
trait that exposes generic::Symbol::name
and
generic::Symbol::value
.
Implementations§
§impl Entry<'_>
impl Entry<'_>
pub fn ordinal(&self) -> u16
pub fn ordinal(&self) -> u16
Ordinal value associated with this exported entry.
This value is computed as the index of this entry in the address table
plus the ordinal base (Export::ordinal_base
)
pub fn address(&self) -> u32
pub fn address(&self) -> u32
Address of the current exported function in the DLL.
If this entry is external to the DLL then it returns 0
and the external address is returned by Entry::function_rva
pub fn function_rva(&self) -> u32
pub fn is_extern(&self) -> bool
pub fn is_forwarded(&self) -> bool
pub fn demangled_name(&self) -> String
pub fn demangled_name(&self) -> String
Demangled representation of the symbol or an empty string if it can’t be demangled
pub fn forward_info(&self) -> Option<ForwardInfo>
pub fn set_ordinal(&mut self, ordinal: u16) -> &mut Self
pub fn set_address(&mut self, address: u32) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Entry<'a>
impl<'a> !Send for Entry<'a>
impl<'a> !Sync for Entry<'a>
impl<'a> Unpin for Entry<'a>
impl<'a> !UnwindSafe for Entry<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more