pub struct PeComdat<'data, 'file, Pe, R = &'data [u8]>where
Pe: ImageNtHeaders,
R: ReadRef<'data>,{ /* private fields */ }
Expand description
A COMDAT section group of a PeFile
.
Trait Implementations§
source§impl<'data, 'file, Pe, R> ObjectComdat<'data> for PeComdat<'data, 'file, Pe, R>where
Pe: ImageNtHeaders,
R: ReadRef<'data>,
impl<'data, 'file, Pe, R> ObjectComdat<'data> for PeComdat<'data, 'file, Pe, R>where
Pe: ImageNtHeaders,
R: ReadRef<'data>,
§type SectionIterator = PeComdatSectionIterator<'data, 'file, Pe, R>
type SectionIterator = PeComdatSectionIterator<'data, 'file, Pe, R>
An iterator over the sections in the object file.
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<&[u8]>
fn name_bytes(&self) -> Result<&[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.
Auto Trait Implementations§
impl<'data, 'file, Pe, R> Freeze for PeComdat<'data, 'file, Pe, R>
impl<'data, 'file, Pe, R> RefUnwindSafe for PeComdat<'data, 'file, Pe, R>where
R: RefUnwindSafe,
Pe: RefUnwindSafe,
impl<'data, 'file, Pe, R> Send for PeComdat<'data, 'file, Pe, R>
impl<'data, 'file, Pe, R> Sync for PeComdat<'data, 'file, Pe, R>
impl<'data, 'file, Pe, R> Unpin for PeComdat<'data, 'file, Pe, R>
impl<'data, 'file, Pe, R> UnwindSafe for PeComdat<'data, 'file, Pe, R>where
R: RefUnwindSafe,
Pe: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more