Struct xbe::Section[][src]

pub struct Section<'a> { /* fields omitted */ }

A section pointing into the image's memory.

This contains all information needed to set up the section's virtual memory.

Methods

impl<'a> Section<'a>
[src]

The range of virtual addresses this section should be mapped into.

The memory range inside the XBE image to be mapped to the virtual range.

The returned range is guaranteed to be inside the bounds of the XBE image.

Returns the section's name.

Gets the section flags that configure how the section should be mapped.

Returns the section's contents stored in the XBE image.

This is the data in the image file and might not suffice to fill all the virtual memory occupied by the section.

Trait Implementations

impl<'a> Debug for Section<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Section<'a>

impl<'a> Sync for Section<'a>