pub struct MachOSegment<'data, 'file, Mach, R = &'data [u8]> where
    'data: 'file,
    Mach: MachHeader,
    R: ReadRef<'data>, 
{ /* private fields */ }
Expand description

A segment of a MachOFile.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the virtual address of the segment.

Returns the size of the segment in memory.

Returns the alignment of the segment in memory.

Returns the offset and size of the segment in the file.

Returns a reference to the file contents of the segment. Read more

Return the segment data in the given range. Read more

Returns the name of the segment.

Returns the name of the segment. 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 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.