#[non_exhaustive]pub enum SectionType {
NoBits,
ProgBits,
SymbolTable,
SymbolHashTable(HashTableType),
StringTable,
Dynamic,
ProcedureLinkageTable,
GlobalOffsetTable,
RelocationTable,
RelocationAddendTable,
FormatSpecific(u32),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoBits
ProgBits
SymbolTable
SymbolHashTable(HashTableType)
StringTable
Dynamic
ProcedureLinkageTable
GlobalOffsetTable
RelocationTable
RelocationAddendTable
FormatSpecific(u32)
Trait Implementations§
Source§impl Clone for SectionType
impl Clone for SectionType
Source§fn clone(&self) -> SectionType
fn clone(&self) -> SectionType
Returns a duplicate 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 SectionType
impl Debug for SectionType
Source§impl Default for SectionType
impl Default for SectionType
Source§fn default() -> SectionType
fn default() -> SectionType
Returns the “default value” for a type. Read more
Source§impl Hash for SectionType
impl Hash for SectionType
Source§impl PartialEq for SectionType
impl PartialEq for SectionType
impl Copy for SectionType
impl Eq for SectionType
impl StructuralPartialEq for SectionType
Auto Trait Implementations§
impl Freeze for SectionType
impl RefUnwindSafe for SectionType
impl Send for SectionType
impl Sync for SectionType
impl Unpin for SectionType
impl UnwindSafe for SectionType
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