Struct object::Segment[][src]

pub struct Segment<'data, 'file> where
    'data: 'file, 
{ /* fields omitted */ }

A segment of a File.

Trait Implementations

impl<'data, 'file> Debug for Segment<'data, 'file>
[src]

Formats the value using the given formatter. Read more

impl<'data, 'file> ObjectSegment<'data> for Segment<'data, 'file>
[src]

Returns the virtual address of the segment.

Returns the size of the segment in memory.

Important traits for &'a [u8]

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

impl<'data, 'file> Send for Segment<'data, 'file>

impl<'data, 'file> Sync for Segment<'data, 'file>