#[repr(u32)]
pub enum SectionType {
Show 59 variants Invalid, Code, Container, Data, DataCString, DataCStringPointers, DataSymbolAddress, Data4, Data8, Data16, DataPointers, Debug, ZeroFill, DataObjCMessageRefs, DataObjCCFStrings, DWARFDebugAbbrev, DWARFDebugAddr, DWARFDebugAranges, DWARFDebugFrame, DWARFDebugInfo, DWARFDebugLine, DWARFDebugLoc, DWARFDebugMacInfo, DWARFDebugMacro, DWARFDebugPubNames, DWARFDebugPubTypes, DWARFDebugRanges, DWARFDebugStr, DWARFDebugStrOffsets, DWARFAppleNames, DWARFAppleTypes, DWARFAppleNamespaces, DWARFAppleObjC, ELFSymbolTable, ELFDynamicSymbols, ELFRelocationEntries, ELFDynamicLinkInfo, EHFrame, ARMexidx, ARMextab, CompactUnwind, GoSymtab, AbsoluteAddress, DWARFGNUDebugAltLink, DWARFDebugTypes, DWARFDebugNames, Other, DWARFDebugLineStr, DWARFDebugRngLists, DWARFDebugLocLists, DWARFDebugAbbrevDwo, DWARFDebugInfoDwo, DWARFDebugStrDwo, DWARFDebugStrOffsetsDwo, DWARFDebugTypesDwo, DWARFDebugRngListsDwo, DWARFDebugLocDwo, DWARFDebugLocListsDwo, DWARFDebugTuIndex,
}

Variants§

§

Invalid

§

Code

§

Container

The section contains child sections.

§

Data

§

DataCString

Inlined C string data.

§

DataCStringPointers

Pointers to C string data.

§

DataSymbolAddress

Address of a symbol in the symbol table.

§

Data4

§

Data8

§

Data16

§

DataPointers

§

Debug

§

ZeroFill

§

DataObjCMessageRefs

Pointer to function pointer + selector.

§

DataObjCCFStrings

Objective-C const CFString/NSString objects.

§

DWARFDebugAbbrev

§

DWARFDebugAddr

§

DWARFDebugAranges

§

DWARFDebugFrame

§

DWARFDebugInfo

§

DWARFDebugLine

§

DWARFDebugLoc

§

DWARFDebugMacInfo

§

DWARFDebugMacro

§

DWARFDebugPubNames

§

DWARFDebugPubTypes

§

DWARFDebugRanges

§

DWARFDebugStr

§

DWARFDebugStrOffsets

§

DWARFAppleNames

§

DWARFAppleTypes

§

DWARFAppleNamespaces

§

DWARFAppleObjC

§

ELFSymbolTable

ELF SHT_SYMTAB section.

§

ELFDynamicSymbols

ELF `SHT_DYNSYM1 section.

§

ELFRelocationEntries

ELF SHT_REL or SHT_RELA section.

§

ELFDynamicLinkInfo

ELF SHT_DYNAMIC section.

§

EHFrame

§

ARMexidx

§

ARMextab

§

CompactUnwind

Compact unwind section in Mach-O, __TEXT,__unwind_info.

§

GoSymtab

§

AbsoluteAddress

Dummy section for symbols with an absolute address.

§

DWARFDebugTypes

DWARF .debug_types section.

§

DWARFDebugNames

DWARF v5 .debug_names section.

§

Other

§

DWARFDebugLineStr

DWARF v5 .debug_line_str section.

§

DWARFDebugRngLists

DWARF v5 .debug_rnglists section.

§

DWARFDebugLocLists

DWARF v5 .debug_loclists section.

§

DWARFDebugAbbrevDwo

§

DWARFDebugInfoDwo

§

DWARFDebugStrDwo

§

DWARFDebugStrOffsetsDwo

§

DWARFDebugTypesDwo

§

DWARFDebugRngListsDwo

§

DWARFDebugLocDwo

§

DWARFDebugLocListsDwo

§

DWARFDebugTuIndex

Trait Implementations§

source§

impl Clone for SectionType

source§

fn clone(&self) -> SectionType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SectionType

source§

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

Formats the value using the given formatter. Read more
source§

impl PartialEq<SectionType> for SectionType

source§

fn eq(&self, other: &SectionType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<SectionType> for SectionType

source§

fn partial_cmp(&self, other: &SectionType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for SectionType

source§

impl Eq for SectionType

source§

impl StructuralEq for SectionType

source§

impl StructuralPartialEq for SectionType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

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

Performs the conversion.