Struct object::read::Section [−][src]
pub struct Section<'data, 'file, R: ReadRef<'data> = &'data [u8]> where
'data: 'file, { /* fields omitted */ }
A Section of a File
Trait Implementations
impl<'data, 'file, R: ReadRef<'data>> ObjectSection<'data> for Section<'data, 'file, R>
[src]
impl<'data, 'file, R: ReadRef<'data>> ObjectSection<'data> for Section<'data, 'file, R>
[src]type RelocationIterator = SectionRelocationIterator<'data, 'file, R>
An iterator over the relocations for a section. Read more
fn index(&self) -> SectionIndex
[src]
fn address(&self) -> u64
[src]
fn size(&self) -> u64
[src]
fn align(&self) -> u64
[src]
fn file_range(&self) -> Option<(u64, u64)>
[src]
fn data(&self) -> Result<&'data [u8]>
[src]
fn data_range(&self, address: u64, size: u64) -> Result<Option<&'data [u8]>>
[src]
fn compressed_file_range(&self) -> Result<CompressedFileRange>
[src]
fn compressed_data(&self) -> Result<CompressedData<'data>>
[src]
fn name(&self) -> Result<&str>
[src]
fn segment_name(&self) -> Result<Option<&str>>
[src]
fn kind(&self) -> SectionKind
[src]
fn relocations(&self) -> SectionRelocationIterator<'data, 'file, R>ⓘNotable traits for SectionRelocationIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for SectionRelocationIterator<'data, 'file, R> type Item = (u64, Relocation);
[src]
Notable traits for SectionRelocationIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for SectionRelocationIterator<'data, 'file, R> type Item = (u64, Relocation);
fn flags(&self) -> SectionFlags
[src]
fn uncompressed_data(&self) -> Result<Cow<'data, [u8]>>
[src]
Auto Trait Implementations
impl<'data, 'file, R> RefUnwindSafe for Section<'data, 'file, R> where
R: RefUnwindSafe,
impl<'data, 'file, R> RefUnwindSafe for Section<'data, 'file, R> where
R: RefUnwindSafe,
impl<'data, 'file, R> UnwindSafe for Section<'data, 'file, R> where
R: RefUnwindSafe,
impl<'data, 'file, R> UnwindSafe for Section<'data, 'file, R> where
R: RefUnwindSafe,