pub struct PeComdat<'data, 'file, Pe, R = &'data [u8]>where
Pe: ImageNtHeaders,
R: ReadRef<'data>,{
file: &'file PeFile<'data, Pe, R>,
}
Expand description
A COMDAT section group in a PeFile
.
This is a stub that doesn’t implement any functionality.
Fields§
§file: &'file PeFile<'data, Pe, R>
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>,
source§type SectionIterator = PeComdatSectionIterator<'data, 'file, Pe, R>
type SectionIterator = PeComdatSectionIterator<'data, 'file, Pe, 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.
impl<'data, 'file, Pe, R> Sealed for PeComdat<'data, 'file, Pe, R>where
Pe: ImageNtHeaders,
R: ReadRef<'data>,
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