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
sourceimpl<'data, 'file, Pe: Debug, R: Debug> Debug for PeComdat<'data, 'file, Pe, R> where
Pe: ImageNtHeaders,
R: ReadRef<'data>,
impl<'data, 'file, Pe: Debug, R: Debug> Debug for PeComdat<'data, 'file, Pe, R> where
Pe: ImageNtHeaders,
R: ReadRef<'data>,
sourceimpl<'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.
sourcefn kind(&self) -> ComdatKind
fn kind(&self) -> ComdatKind
Returns the COMDAT selection kind.
sourcefn symbol(&self) -> SymbolIndex
fn symbol(&self) -> SymbolIndex
Returns the index of the symbol used for the name of COMDAT section group.
sourcefn sections(&self) -> Self::SectionIterator
fn sections(&self) -> Self::SectionIterator
Get the sections in this section group.
Auto Trait Implementations
impl<'data, 'file, Pe, R> RefUnwindSafe for PeComdat<'data, 'file, Pe, R> where
Pe: RefUnwindSafe,
R: RefUnwindSafe,
impl<'data, 'file, Pe, R> Send for PeComdat<'data, 'file, Pe, R> where
Pe: Sync,
R: Sync,
impl<'data, 'file, Pe, R> Sync for PeComdat<'data, 'file, Pe, R> where
Pe: Sync,
R: Sync,
impl<'data, 'file, Pe, R> Unpin for PeComdat<'data, 'file, Pe, R> where
'data: 'file,
impl<'data, 'file, Pe, R> UnwindSafe for PeComdat<'data, 'file, Pe, R> where
Pe: RefUnwindSafe,
R: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more