pub struct Export<'a> {
pub name: Option<&'a str>,
pub offset: Option<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: Option<usize>
rva: usize
size: usize
reexport: Option<Reexport<'a>>
Implementations
sourceimpl<'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
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