[][src]Struct metagoblin::pe::export::Export

pub struct Export<'a> {
    pub name: Option<&'a str>,
    pub offset: usize,
    pub rva: usize,
    pub size: usize,
    pub reexport: Option<Reexport<'a>>,
}

An exported symbol in this binary, contains synthetic data (name offset, etc., are computed)

Fields

name: Option<&'a str>offset: usizerva: usizesize: usizereexport: Option<Reexport<'a>>

Implementations

impl<'a> Export<'a>[src]

pub fn parse(
    bytes: &'a [u8],
    export_data: &ExportData<'_>,
    sections: &[SectionTable],
    file_alignment: u32
) -> Result<Vec<Export<'a>, Global>, Error>
[src]

Trait Implementations

impl<'a> Debug for Export<'a>[src]

impl<'a> Default for Export<'a>[src]

impl<'a, 'b> TryFromCtx<'a, ExportCtx<'b>, [u8]> for Export<'a>[src]

type Error = Error

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.