pub trait GenericHeader {
    // Provided methods
    fn machine(&self) -> MachineType { ... }
    fn nb_sections(&self) -> u32 { ... }
    fn pointerto_symbol_table(&self) -> u32 { ... }
    fn nb_symbols(&self) -> u32 { ... }
    fn timedatestamp(&self) -> u32 { ... }
}
Expand description

Trait shared by the different COFF headers

Provided Methods§

fn machine(&self) -> MachineType

The machine type targeted by this COFF

fn nb_sections(&self) -> u32

The number of sections

fn pointerto_symbol_table(&self) -> u32

Offset of the symbols table

fn nb_symbols(&self) -> u32

Number of symbols (including auxiliary symbols)

fn timedatestamp(&self) -> u32

Timestamp when the COFF has been generated

Trait Implementations§

§

impl Debug for &dyn GenericHeader

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Display for &dyn GenericHeader

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§