Trait object::read::ObjectComdat [−][src]
pub trait ObjectComdat<'data>: Sealed {
type SectionIterator: Iterator<Item = SectionIndex>;
fn kind(&self) -> ComdatKind;
fn symbol(&self) -> SymbolIndex;
fn name(&self) -> Result<&str>;
fn sections(&self) -> Self::SectionIterator;
}A COMDAT section group defined in an object file.
Associated Types
type SectionIterator: Iterator<Item = SectionIndex>[src]
An iterator over the sections in the object file.
Required methods
fn kind(&self) -> ComdatKind[src]
Returns the COMDAT selection kind.
fn symbol(&self) -> SymbolIndex[src]
Returns the index of the symbol used for the name of COMDAT section group.
fn name(&self) -> Result<&str>[src]
Returns the name of the COMDAT section group.
fn sections(&self) -> Self::SectionIterator[src]
Get the sections in this section group.
Implementors
impl<'data, 'file> ObjectComdat<'data> for CoffComdat<'data, 'file>[src]
impl<'data, 'file> ObjectComdat<'data> for CoffComdat<'data, 'file>[src]type SectionIterator = CoffComdatSectionIterator<'data, 'file>
fn kind(&self) -> ComdatKind[src]
fn symbol(&self) -> SymbolIndex[src]
fn name(&self) -> Result<&str>[src]
fn sections(&self) -> Self::SectionIterator[src]
impl<'data, 'file> ObjectComdat<'data> for Comdat<'data, 'file>[src]
impl<'data, 'file> ObjectComdat<'data> for Comdat<'data, 'file>[src]type SectionIterator = ComdatSectionIterator<'data, 'file>
fn kind(&self) -> ComdatKind[src]
fn symbol(&self) -> SymbolIndex[src]
fn name(&self) -> Result<&str>[src]
fn sections(&self) -> ComdatSectionIterator<'data, 'file>ⓘNotable traits for ComdatSectionIterator<'data, 'file>
impl<'data, 'file> Iterator for ComdatSectionIterator<'data, 'file> type Item = SectionIndex;[src]
Notable traits for ComdatSectionIterator<'data, 'file>
impl<'data, 'file> Iterator for ComdatSectionIterator<'data, 'file> type Item = SectionIndex;impl<'data, 'file, Elf: FileHeader> ObjectComdat<'data> for ElfComdat<'data, 'file, Elf>[src]
impl<'data, 'file, Elf: FileHeader> ObjectComdat<'data> for ElfComdat<'data, 'file, Elf>[src]type SectionIterator = ElfComdatSectionIterator<'data, 'file, Elf>
fn kind(&self) -> ComdatKind[src]
fn symbol(&self) -> SymbolIndex[src]
fn name(&self) -> Result<&str>[src]
fn sections(&self) -> Self::SectionIterator[src]
impl<'data, 'file, Mach: MachHeader> ObjectComdat<'data> for MachOComdat<'data, 'file, Mach>[src]
impl<'data, 'file, Mach: MachHeader> ObjectComdat<'data> for MachOComdat<'data, 'file, Mach>[src]type SectionIterator = MachOComdatSectionIterator<'data, 'file, Mach>
fn kind(&self) -> ComdatKind[src]
fn symbol(&self) -> SymbolIndex[src]
fn name(&self) -> Result<&str>[src]
fn sections(&self) -> Self::SectionIterator[src]
impl<'data, 'file, Pe: ImageNtHeaders> ObjectComdat<'data> for PeComdat<'data, 'file, Pe>[src]
impl<'data, 'file, Pe: ImageNtHeaders> ObjectComdat<'data> for PeComdat<'data, 'file, Pe>[src]