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§
Source§impl<'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> Freeze for ImportData<'a>
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§
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