pub struct Segment<'data, 'file, R: ReadRef<'data> = &'data [u8]> where
'data: 'file, { /* private fields */ }
Expand description
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.
impl<'data, 'file, R> Unpin for Segment<'data, 'file, R> where
'data: 'file,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.