Struct object::read::macho::LoadCommandData[][src]

pub struct LoadCommandData<'data, E: Endian> { /* fields omitted */ }
Expand description

The data for a LoadCommand.

Implementations

Return the cmd field of the LoadCommand.

This is one of the LC_ constants.

Return the cmdsize field of the LoadCommand.

Parse the data as the given type.

Parse a load command string value.

Strings used by load commands are specified by offsets that are relative to the load command header.

Parse the command data according to the cmd field.

Try to parse this command as a SegmentCommand32.

Returns the segment command and the data containing the sections.

Try to parse this command as a SymtabCommand.

Returns the segment command and the data containing the sections.

Try to parse this command as a DysymtabCommand.

Try to parse this command as a DylibCommand.

Try to parse this command as a UuidCommand.

Try to parse this command as a SegmentCommand64.

Try to parse this command as a DyldInfoCommand.

Try to parse this command as an EntryPointCommand.

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.