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;
}
Expand description
A COMDAT section group defined in an object file.
Associated Types
type SectionIterator: Iterator<Item = SectionIndex>
type SectionIterator: Iterator<Item = SectionIndex>
An iterator over the sections in the object file.
Required methods
fn kind(&self) -> ComdatKind
fn kind(&self) -> ComdatKind
Returns the COMDAT selection kind.
fn symbol(&self) -> SymbolIndex
fn symbol(&self) -> SymbolIndex
Returns the index of the symbol used for the name of COMDAT section group.
fn sections(&self) -> Self::SectionIterator
fn sections(&self) -> Self::SectionIterator
Get the sections in this section group.