pub enum ExportTarget<'data> {
Address(u32),
ForwardByOrdinal(&'data [u8], u32),
ForwardByName(&'data [u8], &'data [u8]),
}
Expand description
Where an export is pointing to.
Variants
Address(u32)
The address of the export, relative to the image base.
ForwardByOrdinal(&'data [u8], u32)
Forwarded to an export ordinal in another DLL.
This gives the name of the DLL, and the ordinal.
ForwardByName(&'data [u8], &'data [u8])
Forwarded to an export name in another DLL.
This gives the name of the DLL, and the export name.
Implementations
sourceimpl<'data> ExportTarget<'data>
impl<'data> ExportTarget<'data>
sourcepub fn is_address(&self) -> bool
pub fn is_address(&self) -> bool
Returns true if the target is an address.
sourcepub fn is_forward(&self) -> bool
pub fn is_forward(&self) -> bool
Returns true if the export is forwarded to another DLL.
Trait Implementations
sourceimpl<'data> Clone for ExportTarget<'data>
impl<'data> Clone for ExportTarget<'data>
sourcefn clone(&self) -> ExportTarget<'data>
fn clone(&self) -> ExportTarget<'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
sourceimpl<'a> Debug for ExportTarget<'a>
impl<'a> Debug for ExportTarget<'a>
impl<'data> Copy for ExportTarget<'data>
Auto Trait Implementations
impl<'data> RefUnwindSafe for ExportTarget<'data>
impl<'data> Send for ExportTarget<'data>
impl<'data> Sync for ExportTarget<'data>
impl<'data> Unpin for ExportTarget<'data>
impl<'data> UnwindSafe for ExportTarget<'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