pub struct Export<'a> {
pub name: Option<&'a str>,
pub offset: usize,
pub rva: usize,
pub size: usize,
pub reexport: Option<Reexport<'a>>,
}
Expand description
An exported symbol in this binary, contains synthetic data (name offset, etc., are computed)
Fields§
§name: Option<&'a str>
§offset: usize
§rva: usize
§size: usize
§reexport: Option<Reexport<'a>>
Implementations§
source§impl<'a> Export<'a>
impl<'a> Export<'a>
pub fn parse( bytes: &'a [u8], export_data: &ExportData<'_>, sections: &[SectionTable], file_alignment: u32 ) -> Result<Vec<Export<'a>>>
pub fn parse_with_opts( bytes: &'a [u8], export_data: &ExportData<'_>, sections: &[SectionTable], file_alignment: u32, opts: &ParseOptions ) -> Result<Vec<Export<'a>>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Export<'a>
impl<'a> Send for Export<'a>
impl<'a> Sync for Export<'a>
impl<'a> Unpin for Export<'a>
impl<'a> UnwindSafe for Export<'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