Struct object::PeSegment

source ·
pub struct PeSegment<'data, 'file>where
    'data: 'file,
{ /* private fields */ }
Expand description

A loadable section of a PeFile.

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 a reference to the file contents of the segment. The length of this data may be different from the size of the segment in memory. Read more
Returns the name of the segment.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.