Struct object::elf::NoteHeader32[][src]

#[repr(C)]
pub struct NoteHeader32<E: Endian> { pub n_namesz: U32<E>, pub n_descsz: U32<E>, pub n_type: U32<E>, }
Expand description

Note section entry header.

A note consists of a header followed by a variable length name and descriptor.

Fields

n_namesz: U32<E>

Length of the note’s name.

Some known names are defined by the ELF_NOTE_* constants.

n_descsz: U32<E>

Length of the note’s descriptor.

The content of the descriptor depends on the note name and type.

n_type: U32<E>

Type of the note.

One of the NT_* constants. The note name determines which NT_* constants are valid.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.