pub struct ImportData<'a> {
pub import_data: Vec<SyntheticImportDirectoryEntry<'a>>,
}
Expand description
Contains a list of synthesized import data for this binary, e.g., which symbols from which libraries it is importing from
Fields
import_data: Vec<SyntheticImportDirectoryEntry<'a>>
Implementations
sourceimpl<'a> ImportData<'a>
impl<'a> ImportData<'a>
pub fn parse<T: Bitfield<'a>>(
bytes: &'a [u8],
dd: DataDirectory,
sections: &[SectionTable],
file_alignment: u32
) -> Result<ImportData<'a>>
pub fn parse_with_opts<T: Bitfield<'a>>(
bytes: &'a [u8],
dd: DataDirectory,
sections: &[SectionTable],
file_alignment: u32,
opts: &ParseOptions
) -> Result<ImportData<'a>>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for ImportData<'a>
impl<'a> Send for ImportData<'a>
impl<'a> Sync for ImportData<'a>
impl<'a> Unpin for ImportData<'a>
impl<'a> UnwindSafe for ImportData<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more