pub struct MachOComdat<'data, 'file, Mach, R = &'data [u8]>where
Mach: MachHeader,
R: ReadRef<'data>,{ /* private fields */ }
Expand description
A COMDAT section group in a MachOFile
.
This is a stub that doesn’t implement any functionality.
Trait Implementations§
Source§impl<'data, 'file, Mach, R> Debug for MachOComdat<'data, 'file, Mach, R>where
Mach: MachHeader + Debug,
R: ReadRef<'data> + Debug,
impl<'data, 'file, Mach, R> Debug for MachOComdat<'data, 'file, Mach, R>where
Mach: MachHeader + Debug,
R: ReadRef<'data> + Debug,
Source§impl<'data, 'file, Mach, R> ObjectComdat<'data> for MachOComdat<'data, 'file, Mach, R>where
Mach: MachHeader,
R: ReadRef<'data>,
impl<'data, 'file, Mach, R> ObjectComdat<'data> for MachOComdat<'data, 'file, Mach, R>where
Mach: MachHeader,
R: ReadRef<'data>,
Source§type SectionIterator = MachOComdatSectionIterator<'data, 'file, Mach, R>
type SectionIterator = MachOComdatSectionIterator<'data, 'file, Mach, R>
An iterator for the sections in the section group.
Source§fn kind(&self) -> ComdatKind
fn kind(&self) -> ComdatKind
Returns the COMDAT selection kind.
Source§fn symbol(&self) -> SymbolIndex
fn symbol(&self) -> SymbolIndex
Returns the index of the symbol used for the name of COMDAT section group.
Source§fn name_bytes(&self) -> Result<&'data [u8]>
fn name_bytes(&self) -> Result<&'data [u8]>
Returns the name of the COMDAT section group.
Source§fn sections(&self) -> Self::SectionIterator
fn sections(&self) -> Self::SectionIterator
Get the sections in this section group.