pub struct ElfSegment<'data, 'file, Elf, R = &'data [u8]> where
'data: 'file,
Elf: FileHeader,
R: ReadRef<'data>, { /* private fields */ }
Expand description
A segment of an ElfFile
.
Trait Implementations
sourceimpl<'data, 'file, Elf: Debug, R: Debug> Debug for ElfSegment<'data, 'file, Elf, R> where
'data: 'file,
Elf: FileHeader,
R: ReadRef<'data>,
Elf::ProgramHeader: Debug,
impl<'data, 'file, Elf: Debug, R: Debug> Debug for ElfSegment<'data, 'file, Elf, R> where
'data: 'file,
Elf: FileHeader,
R: ReadRef<'data>,
Elf::ProgramHeader: Debug,
sourceimpl<'data, 'file, Elf, R> ObjectSegment<'data> for ElfSegment<'data, 'file, Elf, R> where
Elf: FileHeader,
R: ReadRef<'data>,
impl<'data, 'file, Elf, R> ObjectSegment<'data> for ElfSegment<'data, 'file, Elf, R> where
Elf: FileHeader,
R: ReadRef<'data>,
Auto Trait Implementations
impl<'data, 'file, Elf, R> RefUnwindSafe for ElfSegment<'data, 'file, Elf, R> where
Elf: RefUnwindSafe,
R: RefUnwindSafe,
<Elf as FileHeader>::Endian: RefUnwindSafe,
<Elf as FileHeader>::ProgramHeader: RefUnwindSafe,
<Elf as FileHeader>::SectionHeader: RefUnwindSafe,
<Elf as FileHeader>::Sym: RefUnwindSafe,
impl<'data, 'file, Elf, R> Send for ElfSegment<'data, 'file, Elf, R> where
Elf: Sync,
R: Sync,
<Elf as FileHeader>::Endian: Sync,
<Elf as FileHeader>::ProgramHeader: Sync,
<Elf as FileHeader>::SectionHeader: Sync,
<Elf as FileHeader>::Sym: Sync,
impl<'data, 'file, Elf, R> Sync for ElfSegment<'data, 'file, Elf, R> where
Elf: Sync,
R: Sync,
<Elf as FileHeader>::Endian: Sync,
<Elf as FileHeader>::ProgramHeader: Sync,
<Elf as FileHeader>::SectionHeader: Sync,
<Elf as FileHeader>::Sym: Sync,
impl<'data, 'file, Elf, R> Unpin for ElfSegment<'data, 'file, Elf, R> where
'data: 'file,
impl<'data, 'file, Elf, R> UnwindSafe for ElfSegment<'data, 'file, Elf, R> where
Elf: RefUnwindSafe,
R: RefUnwindSafe,
<Elf as FileHeader>::Endian: RefUnwindSafe,
<Elf as FileHeader>::ProgramHeader: RefUnwindSafe,
<Elf as FileHeader>::SectionHeader: RefUnwindSafe,
<Elf as FileHeader>::Sym: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more