pub enum SectionKind {
Show 19 variants
Null,
ProgramBits,
SymbolTable,
StringTable,
RelaTable,
Hash,
Dynamic,
Note,
NoBits,
RelTable,
Shlib,
DynamicSymbolTable,
InitArray,
FiniArray,
PreInitArray,
Group,
SymbolTableIndex,
RelrTable,
Other(u32),
}Expand description
Section type.
Variants§
Null
Inactive/removed section.
ProgramBits
Program-related data.
SymbolTable
Symbol table.
StringTable
String table.
RelaTable
Relocation entries with addends.
Hash
Symbol hash table.
Dynamic
Dynamic linking information.
Note
Notes.
NoBits
Same as ProgramBits but occupies no space in the file.
RelTable
Relocation entries without addends.
Shlib
Reserved.
DynamicSymbolTable
Dynamic linker symbol table.
InitArray
Constructors.
FiniArray
Destructors.
PreInitArray
Pre-constructors.
Group
Section group.
SymbolTableIndex
Extended section indices.
RelrTable
Relative relocation entries.
Other(u32)
Other.
Implementations§
Trait Implementations§
Source§impl Clone for SectionKind
impl Clone for SectionKind
Source§fn clone(&self) -> SectionKind
fn clone(&self) -> SectionKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SectionKind
impl Debug for SectionKind
Source§impl From<u32> for SectionKind
impl From<u32> for SectionKind
Source§impl Hash for SectionKind
impl Hash for SectionKind
Source§impl Ord for SectionKind
impl Ord for SectionKind
Source§fn cmp(&self, other: &SectionKind) -> Ordering
fn cmp(&self, other: &SectionKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SectionKind
impl PartialEq for SectionKind
Source§impl PartialOrd for SectionKind
impl PartialOrd for SectionKind
impl Copy for SectionKind
impl Eq for SectionKind
impl StructuralPartialEq for SectionKind
Auto Trait Implementations§
impl Freeze for SectionKind
impl RefUnwindSafe for SectionKind
impl Send for SectionKind
impl Sync for SectionKind
impl Unpin for SectionKind
impl UnwindSafe for SectionKind
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