Struct object::pe::ImageFileHeader
source · #[repr(C)]pub struct ImageFileHeader {
pub machine: U16<LittleEndian>,
pub number_of_sections: U16<LittleEndian>,
pub time_date_stamp: U32<LittleEndian>,
pub pointer_to_symbol_table: U32<LittleEndian>,
pub number_of_symbols: U32<LittleEndian>,
pub size_of_optional_header: U16<LittleEndian>,
pub characteristics: U16<LittleEndian>,
}
Fields§
§machine: U16<LittleEndian>
§number_of_sections: U16<LittleEndian>
§time_date_stamp: U32<LittleEndian>
§pointer_to_symbol_table: U32<LittleEndian>
§number_of_symbols: U32<LittleEndian>
§size_of_optional_header: U16<LittleEndian>
§characteristics: U16<LittleEndian>
Trait Implementations§
source§impl Clone for ImageFileHeader
impl Clone for ImageFileHeader
source§fn clone(&self) -> ImageFileHeader
fn clone(&self) -> ImageFileHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl CoffHeader for ImageFileHeader
impl CoffHeader for ImageFileHeader
type ImageSymbol = ImageSymbol
type ImageSymbolBytes = ImageSymbolBytes
source§fn is_type_bigobj() -> bool
fn is_type_bigobj() -> bool
Return true if this type is
pe::AnonObjectHeaderBigobj
. Read morefn machine(&self) -> u16
fn number_of_sections(&self) -> u32
fn pointer_to_symbol_table(&self) -> u32
fn number_of_symbols(&self) -> u32
fn characteristics(&self) -> u16
source§fn parse<'data, R: ReadRef<'data>>(
data: R,
offset: &mut u64,
) -> Result<&'data Self>
fn parse<'data, R: ReadRef<'data>>( data: R, offset: &mut u64, ) -> Result<&'data Self>
Read the file header. Read more
source§impl Debug for ImageFileHeader
impl Debug for ImageFileHeader
impl Copy for ImageFileHeader
impl Pod for ImageFileHeader
Auto Trait Implementations§
impl Freeze for ImageFileHeader
impl RefUnwindSafe for ImageFileHeader
impl Send for ImageFileHeader
impl Sync for ImageFileHeader
impl Unpin for ImageFileHeader
impl UnwindSafe for ImageFileHeader
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)