pub struct ElfComdat<'data, 'file, Elf> where
'data: 'file,
Elf: FileHeader, { /* private fields */ }
Expand description
A COMDAT section group of an ElfFile
.
Trait Implementations
sourceimpl<'data, 'file, Elf: Debug> Debug for ElfComdat<'data, 'file, Elf> where
'data: 'file,
Elf: FileHeader,
Elf::SectionHeader: Debug,
Elf::Endian: Debug,
impl<'data, 'file, Elf: Debug> Debug for ElfComdat<'data, 'file, Elf> where
'data: 'file,
Elf: FileHeader,
Elf::SectionHeader: Debug,
Elf::Endian: Debug,
sourceimpl<'data, 'file, Elf: FileHeader> ObjectComdat<'data> for ElfComdat<'data, 'file, Elf>
impl<'data, 'file, Elf: FileHeader> ObjectComdat<'data> for ElfComdat<'data, 'file, Elf>
type SectionIterator = ElfComdatSectionIterator<'data, 'file, Elf>
type SectionIterator = ElfComdatSectionIterator<'data, 'file, Elf>
An iterator over the sections in the object file.
sourcefn kind(&self) -> ComdatKind
fn kind(&self) -> ComdatKind
Returns the COMDAT selection kind.
sourcefn symbol(&self) -> SymbolIndex
fn symbol(&self) -> SymbolIndex
Returns the index of the symbol used for the name of COMDAT section group.
sourcefn sections(&self) -> Self::SectionIterator
fn sections(&self) -> Self::SectionIterator
Get the sections in this section group.
Auto Trait Implementations
impl<'data, 'file, Elf> RefUnwindSafe for ElfComdat<'data, 'file, Elf> where
Elf: 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> Send for ElfComdat<'data, 'file, Elf> where
Elf: 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> Sync for ElfComdat<'data, 'file, Elf> where
Elf: 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> Unpin for ElfComdat<'data, 'file, Elf> where
'data: 'file,
impl<'data, 'file, Elf> UnwindSafe for ElfComdat<'data, 'file, Elf> where
Elf: 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