Struct object::read::elf::ElfComdat[][src]

pub struct ElfComdat<'data, 'file, Elf, R = &'data [u8]> where
    Elf: FileHeader,
    R: ReadRef<'data>, 
{ /* fields omitted */ }
Expand description

A COMDAT section group of an ElfFile.

Trait Implementations

impl<'data, 'file, Elf: Debug, R: Debug> Debug for ElfComdat<'data, 'file, Elf, R> where
    Elf: FileHeader,
    R: ReadRef<'data>,
    Elf::SectionHeader: Debug,
    Elf::Endian: Debug
[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'data, 'file, Elf, R> ObjectComdat<'data> for ElfComdat<'data, 'file, Elf, R> where
    Elf: FileHeader,
    R: ReadRef<'data>, 
[src]

type SectionIterator = ElfComdatSectionIterator<'data, 'file, Elf, R>

An iterator over the sections in the object file.

fn kind(&self) -> ComdatKind[src]

Returns the COMDAT selection kind.

fn symbol(&self) -> SymbolIndex[src]

Returns the index of the symbol used for the name of COMDAT section group.

fn name(&self) -> Result<&str>[src]

Returns the name of the COMDAT section group.

fn sections(&self) -> Self::SectionIterator[src]

Get the sections in this section group.

Auto Trait Implementations

impl<'data, 'file, Elf, R> RefUnwindSafe for ElfComdat<'data, 'file, Elf, R> where
    Elf: RefUnwindSafe,
    R: RefUnwindSafe,
    <Elf as FileHeader>::Endian: RefUnwindSafe,
    <Elf as FileHeader>::ProgramHeader: RefUnwindSafe,
    <Elf as FileHeader>::SectionHeader: RefUnwindSafe,
    <Elf as FileHeader>::Sym: RefUnwindSafe

impl<'data, 'file, Elf, R> Send for ElfComdat<'data, 'file, Elf, R> where
    Elf: Sync,
    R: Sync,
    <Elf as FileHeader>::Endian: Sync,
    <Elf as FileHeader>::ProgramHeader: Sync,
    <Elf as FileHeader>::SectionHeader: Sync,
    <Elf as FileHeader>::Sym: Sync

impl<'data, 'file, Elf, R> Sync for ElfComdat<'data, 'file, Elf, R> where
    Elf: Sync,
    R: Sync,
    <Elf as FileHeader>::Endian: Sync,
    <Elf as FileHeader>::ProgramHeader: Sync,
    <Elf as FileHeader>::SectionHeader: Sync,
    <Elf as FileHeader>::Sym: Sync

impl<'data, 'file, Elf, R> Unpin for ElfComdat<'data, 'file, Elf, R> where
    'data: 'file, 

impl<'data, 'file, Elf, R> UnwindSafe for ElfComdat<'data, 'file, Elf, R> where
    Elf: RefUnwindSafe,
    R: RefUnwindSafe,
    <Elf as FileHeader>::Endian: RefUnwindSafe,
    <Elf as FileHeader>::ProgramHeader: RefUnwindSafe,
    <Elf as FileHeader>::SectionHeader: RefUnwindSafe,
    <Elf as FileHeader>::Sym: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.