pub trait ImageThunkData: Debug + Pod {
    // Required methods
    fn raw(self) -> u64;
    fn is_ordinal(self) -> bool;
    fn ordinal(self) -> u16;
    fn address(self) -> u32;
}
Expand description

A trait for generic access to pe::ImageThunkData32 and pe::ImageThunkData64.

Required Methods§

source

fn raw(self) -> u64

Return the raw thunk value.

source

fn is_ordinal(self) -> bool

Returns true if the ordinal flag is set.

source

fn ordinal(self) -> u16

Return the ordinal portion of the thunk.

Does not check the ordinal flag.

source

fn address(self) -> u32

Return the RVA portion of the thunk.

Does not check the ordinal flag.

Implementors§